Skip to content

Commit

Permalink
ci: use pnpm/action-setup@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
afiiif committed Oct 6, 2023
1 parent 0842d77 commit 51eef22
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm v8
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
uses: bahmutov/npm-install@v1
run: pnpm i
- name: Lint files
run: pnpm lint

Expand All @@ -28,8 +32,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm v8
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
uses: bahmutov/npm-install@v1
run: pnpm i
- name: Perform type checking
run: pnpm lint:types

Expand All @@ -41,8 +49,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm v8
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
uses: bahmutov/npm-install@v1
run: pnpm i
- name: Perform unit test
run: pnpm test

Expand All @@ -56,8 +68,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm v8
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
uses: bahmutov/npm-install@v1
run: pnpm i
- name: Update package.json
run: |
npm pkg delete 'engines'
Expand Down

0 comments on commit 51eef22

Please sign in to comment.