Skip to content

Commit

Permalink
chore: Fix workflow to use PNPM
Browse files Browse the repository at this point in the history
nklomp committed Mar 19, 2024
1 parent 29d5c33 commit 0470252
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -12,19 +12,24 @@ jobs:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v16
uses: actions/setup-node@v1
- uses: actions/checkout@v3
with:
node-version: 18
- name: yarn install
run: yarn install
- name: yarn build
run: yarn build
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'pnpm'
- run: git diff -u
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: tsc
uses: icrawl/action-tsc@v1
- name: yarn test
run: yarn test
- name: pnpm test
run: pnpm test
- name: codecov
uses: codecov/codecov-action@v2
with:

0 comments on commit 0470252

Please sign in to comment.