Skip to content

Commit

Permalink
chore: add missing steps to publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ludofischer committed Jan 3, 2024
1 parent 9c0607e commit aeeeb09
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,24 @@ jobs:
uses: pnpm/action-setup@v2.4.0
with:
version: 7.33.6
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4.0.1

- name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v4.0.1
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: pnpm test:only
- run: pnpm all-publish

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run lint
run: pnpm lint

- name: Test
run: pnpm test:only

- name: Publish
run: pnpm all-publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit aeeeb09

Please sign in to comment.