Skip to content

Commit

Permalink
🤦 Ok, I give up. This makes no sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-rocska committed Aug 9, 2024
1 parent 4d8121a commit bd4cfea
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [created]

jobs:
build-and-publish:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -21,6 +21,17 @@ jobs:
- run: pnpm build
- run: pnpm test
- run: pnpm check
- run: pnpm publish

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- uses: pnpm/action-setup@v4
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit bd4cfea

Please sign in to comment.