Skip to content

Commit

Permalink
用Yarn来执行CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CrescentSine committed Mar 8, 2021
1 parent 23df543 commit a18dbc7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

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

steps:
Expand All @@ -25,7 +25,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm test
- run: npm run coverall
- name: Yarn CLI
# You may pin to the exact commit or the version.
# uses: CultureHQ/actions-yarn@661c6f3a66041c2432bcfb78096b9207304614c8
uses: CultureHQ/actions-yarn@v1.0.1
- run: yarn
- run: yarn build
- run: yarn test
- run: yarn coverall

0 comments on commit a18dbc7

Please sign in to comment.