Skip to content

Commit

Permalink
Adjusted NPM publishing package to use regular npm build command
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed Mar 15, 2024
1 parent 72e864a commit 17d0bfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts
node-version: 20.11.1
cache: npm # or pnpm / ya

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build -ws
run: npm run build
env:
NODE_ENV: production

- name: Set public publishing
run: npm config set access public

- name: Publish package on NPM 📦
run: npm publish
run: npm publish --ws
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_ENV: production

0 comments on commit 17d0bfa

Please sign in to comment.