Skip to content

Commit

Permalink
fixed workflow formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-kural authored Jul 7, 2024
1 parent f4c9baf commit 651970e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,27 @@ jobs:
packages: write
steps:
- name: Checkout
- uses: actions/checkout@v4
uses: actions/checkout@v4

- uses: pnpm/action-setup@4
name: Install pnpm
- name: Install pnpm
uses: pnpm/action-setup@4
with:
version: 9
run_install: false

# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v4
- name: Install Node.js and Setup NPMRC
uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
cache: pnpm

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

- name: Publish 🚀
- run: pnpm publish --access public --no-git-checks
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
Expand Down

0 comments on commit 651970e

Please sign in to comment.