Skip to content

Commit

Permalink
Merge pull request #54 from valiantlynx:working
Browse files Browse the repository at this point in the history
npm
  • Loading branch information
valiantlynx authored Apr 8, 2024
2 parents 2fad416 + 03dc8b7 commit ba9917b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
node-version: '21'
registry-url: 'https://registry.npmjs.org/'
scope: '@valiantlynx'

- name: Install Dependencies
run: yarn
run: npm install

- name: Build
run: yarn build && yarn package
run: npm run build && npm run package

- name: Configure .npmrc for Publishing
run: |
Expand All @@ -42,8 +42,9 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
# Ensure you have a script in your package.json named "release" that is configured for npm.
# This could simply be: "release": "npm publish --access public" or include the changeset publish command as needed.
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit ba9917b

Please sign in to comment.