Skip to content

Commit

Permalink
chore: comment npm publish for now
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Aug 12, 2024
1 parent 018247c commit 77fc07f
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,35 @@ on:
workflow_dispatch:

jobs:
publish-to-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 9

- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
scope: ${{ github.repository_owner }}
cache: pnpm

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

- name: Build
run: pnpm build

- name: Publish 🚀
run: pnpm publish --no-git-checks --access=public
working-directory: dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
# publish-to-npm:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
#
# - name: Install pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 9
#
# - uses: actions/setup-node@v3
# with:
# node-version: 20
# registry-url: 'https://registry.npmjs.org'
# scope: ${{ github.repository_owner }}
# cache: pnpm
#
# - name: Install dependencies
# run: pnpm install --frozen-lockfile
#
# - name: Build
# run: pnpm build
#
# - name: Publish 🚀
# run: pnpm publish --no-git-checks --access=public
# working-directory: dist
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

publish-to-github:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 77fc07f

Please sign in to comment.