Skip to content

Commit

Permalink
fix CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
phn210 committed Mar 8, 2024
1 parent 4f29143 commit fd0c65b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- name: Clean global cache
run: npm cache clean --force
- name: Set up Node
uses: actions/checkout@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: CI build & test
run: |
npm run build --if-present
npm test
env:
CI: true
- name: Clean global cache
run: npm cache clean --force
- name: Set up Node
uses: actions/checkout@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: CI build & test
run: |
npm run build --if-present
npm test
env:
CI: true

0 comments on commit fd0c65b

Please sign in to comment.