Skip to content

Commit e26fe2a

Browse files
committed
ci: update build process
1 parent 7e1acf0 commit e26fe2a

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,20 @@ jobs:
1515
id-token: write # to enable use of OIDC for npm provenance
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
19-
- uses: pnpm/action-setup@v2
18+
- name: Checkout
19+
uses: actions/checkout@v3
20+
with:
21+
fetch-depth: 0
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v3
2024
with:
21-
run_install: |
22-
- recursive: true
23-
args: [--frozen-lockfile, --strict-peer-dependencies]
24-
- run: pnpm test
25+
node-version: "18.x"
26+
- name: Install PNPM
27+
run: npm i -g pnpm
28+
- name: Install dependencies
29+
run: pnpm install --frozen-lockfile
30+
- name: Run Tests
31+
run: pnpm test
2532
build:
2633
name: Build
2734
runs-on: ubuntu-latest
@@ -44,8 +51,6 @@ jobs:
4451
run: npm i -g pnpm
4552
- name: Install dependencies
4653
run: pnpm install --frozen-lockfile
47-
- name: Run Tests
48-
run: pnpm test
4954
- name: Build Package
5055
run: pnpm build
5156
- name: Pack

0 commit comments

Comments
 (0)