Skip to content

Commit

Permalink
use npm rather than yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Oct 2, 2024
1 parent b50292f commit 5490436
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install dependencies
run: |
yarn install
npm install
- name: Publish to NPM
run: |
Expand Down
4 changes: 2 additions & 2 deletions bin/publish-npm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -eux
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"

# Build the project
yarn build
npm run build

# Navigate to the dist directory
cd dist
Expand All @@ -22,4 +22,4 @@ else
fi

# Publish with the appropriate tag
yarn publish --access public --tag "$TAG"
npm publish --access public --tag "$TAG"

0 comments on commit 5490436

Please sign in to comment.