Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sdttttt/vscode-bangumi
Browse files Browse the repository at this point in the history
  • Loading branch information
sdttttt committed Mar 11, 2022
2 parents d40844a + 72cef9b commit 687ea15
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 13.x
node-version: 14.x

- name: Cache Depend on UNIX
if: ${{ runner.os != 'Windows' }}
Expand Down Expand Up @@ -52,13 +52,18 @@ jobs:
- run: yarn

- name: build
run: yarn webpack:prepublish
run: yarn rollup:build

- name: pretest
run: yarn pretest

- name: Run tests
uses: GabrielBB/[email protected]
with:
run: yarn run test
- name: Packing
run: vsce package
# yarn2之后好像不支持list这个指令了
run: vsce package --no-yarn

- uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [13.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -25,7 +25,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install -g vsce
- run: npm install
- run: vsce package
- run: vsce package --no-yarn
env:
CI: true
- name: Upload To Github Release
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/vsce_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [13.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -23,8 +23,8 @@ jobs:
- run: npm install -g vsce
- run: npm install -g yarn
- run: yarn
- run: yarn run build
- run: vsce package
- run: yarn build
- run: vsce package --no-yarn
env:
CI: true
- name: Publish to VSCode Marketplace
Expand Down

0 comments on commit 687ea15

Please sign in to comment.