Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bug-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,54 +9,54 @@

jobs:
build:
runs-on: macos-13
runs-on: macos-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Print All Github Environment Variables
run: env

- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy

- name: Build vutils-extension
working-directory: ./packages/vutils-extension
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: node ../../common/scripts/install-run-rushx.js build:es

- name: Build vchart
working-directory: ./packages/vchart
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: node ../../common/scripts/install-run-rushx.js build:es

- name: Build vchart-extension
working-directory: ./packages/vchart-extension
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: node ../../common/scripts/install-run-rushx.js build:es

- name: Build bugserver-trigger
working-directory: ./tools/bugserver-trigger
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: node ../../common/scripts/install-run-rushx.js build

- name: Run CI
working-directory: ./tools/bugserver-trigger
env:
BUG_SERVER_TOKEN: ${{ secrets.BUG_SERVER_TOKEN }}
run: node ../../common/scripts/install-run-rushx.js ci

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
2 changes: 1 addition & 1 deletion .github/workflows/hotfix-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: macos-13
runs-on: macos-latest
permissions:
contents: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: macos-13
runs-on: macos-latest

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: macos-13
runs-on: macos-latest
permissions:
contents: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
update-changelog-after-publish-a-release:
name: GitHub Actions Test
runs-on: macos-13
runs-on: macos-latest

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: macos-13
runs-on: macos-latest
permissions:
contents: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,38 @@

jobs:
size:
runs-on: macos-13
runs-on: macos-latest
strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy

- name: Build vutils-extension
run: node common/scripts/install-run-rush.js build --only @visactor/vutils-extension

- name: Build VChart
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: node common/scripts/install-run-rush.js run -p @visactor/vchart -s build:umd

# action below will calculate pr base branch without skip_step which might cause error
# - uses: andresz1/size-limit-action@v1
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# directory: packages/vchart/
# skip_step: build
- name: Size Limit
run: |
cd packages/vchart
npm run size

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
2 changes: 1 addition & 1 deletion .github/workflows/sync-main-to-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if_merged:
if: github.event.pull_request.merged == true

runs-on: macos-13
runs-on: macos-latest

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,33 @@

jobs:
build:
runs-on: macos-13
runs-on: macos-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: './common/config/rush/pnpm-lock.yaml'

# Install rush
- name: Install rush
run: node common/scripts/install-run-rush.js install --bypass-policy

- name: Build vutils-extension
run: node common/scripts/install-run-rush.js build --only @visactor/vutils-extension

- name: Build VChart
env:
NODE_OPTIONS: '--max_old_space_size=4096'
run: node common/scripts/install-run-rush.js run -p @visactor/vchart -s build:cjs

- name: Test VChart
run: node common/scripts/install-run-rush.js run -p @visactor/vchart -s test

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Loading