Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fostertheweb authored Dec 11, 2023
1 parent be416f7 commit 595b383
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci
cache: "pnpm"
- run: pnpm install --frozen-lockfile

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: npm run ci
- run: npm publish
env:
Expand Down

0 comments on commit 595b383

Please sign in to comment.