Skip to content

Commit

Permalink
make build more succint
Browse files Browse the repository at this point in the history
  • Loading branch information
antony committed Nov 11, 2024
1 parent d479ea6 commit a79af1d
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: authorise pnpm
- name: set up node and pnpm
run: |
pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
corepack enable
- name: install dependencies
run: pnpm install
pnpm i
- name: test
run: pnpm test
Expand All @@ -39,13 +36,11 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: authorise pnpm
- name: set up node and pnpm
run: |
pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
corepack enable
- name: install dependencies
run: pnpm install
pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
pnpm i
- name: publish
run: pnpm publish --access public

0 comments on commit a79af1d

Please sign in to comment.