Skip to content

Commit

Permalink
fix: remove node 12 to fix release action failed (#3720)
Browse files Browse the repository at this point in the history
* fix: remove node 12 to fix release action failed

* chore: release actions 中用yarn代替npm install
  • Loading branch information
visiky committed Jan 14, 2022
1 parent bbc0a5b commit 1358be9
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- uses: actions/checkout@v2
- run: yarn install
- run: npm run lint

publish-site:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- uses: actions/checkout@v2
- run: yarn install
- run: npm run site:build
- run: |
cd public
Expand Down

0 comments on commit 1358be9

Please sign in to comment.