Skip to content

Commit a79af1d

Browse files
committed
make build more succint
1 parent d479ea6 commit a79af1d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@ jobs:
2020
- name: checkout
2121
uses: actions/checkout@v4
2222

23-
- name: authorise pnpm
23+
- name: set up node and pnpm
2424
run: |
25-
pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
2625
corepack enable
27-
28-
- name: install dependencies
29-
run: pnpm install
26+
pnpm i
3027
3128
- name: test
3229
run: pnpm test
@@ -39,13 +36,11 @@ jobs:
3936
- name: checkout
4037
uses: actions/checkout@v4
4138

42-
- name: authorise pnpm
39+
- name: set up node and pnpm
4340
run: |
44-
pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
4541
corepack enable
46-
47-
- name: install dependencies
48-
run: pnpm install
42+
pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
43+
pnpm i
4944
5045
- name: publish
5146
run: pnpm publish --access public

0 commit comments

Comments
 (0)