Skip to content

Commit

Permalink
feat: update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
chakhsu committed Dec 3, 2023
1 parent e5242c0 commit 0e58f71
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,22 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout master
- uses: actions/checkout@v4

- uses: pnpm/[email protected]

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}
# Use separate run commands so command status handled correctly on Windows
- name: npm install
run: npm ci
- name: npm test
run: npm test
- name: npm run lint
run: npm run lint
cache: 'pnpm'

- name: Install Dependencies
run: pnpm i

- name: Test
run: pnpm test

- name: Clean
run: pnpm clean

0 comments on commit 0e58f71

Please sign in to comment.