Skip to content

Commit

Permalink
fix: set npm publish again
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemog committed Mar 8, 2024
1 parent fb76bd8 commit 690b28f
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,29 +79,29 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# publish_on_npm:
# runs-on: ubuntu-latest
# needs:
# - create_github_release
# - check_if_version_upgraded
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.ref }}
# - name: Set-up bun
# uses: oven-sh/setup-bun@v1
# with:
# bun-version: latest
# - name: Setup .npmrc file to publish to npm
# uses: actions/setup-node@v3
# with:
# node-version: "18.x"
# registry-url: "https://registry.npmjs.org"
# - name: Install dependencies and build
# run: yarn install --immutable
# - name: Build
# run: yarn run build
# - name: Publish to NPM
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish_on_npm:
runs-on: ubuntu-latest
needs:
- create_github_release
- check_if_version_upgraded
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Set-up bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies and build
run: yarn install --immutable
- name: Build
run: yarn run build
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 690b28f

Please sign in to comment.