Skip to content

Commit

Permalink
fix: remove release for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexagod committed Feb 7, 2024
1 parent 886e1d8 commit 68146be
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ jobs:
- run: npm run lint
- run: npm run test

release:
if: ${{ github.ref == 'refs/heads/main' }}
needs: [ test ]
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
- run: npm run build
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
run: npx publish
# release:
# if: ${{ github.ref == 'refs/heads/main' }}
# needs: [ test ]
# runs-on: ubuntu-latest
# permissions:
# contents: write
# packages: write
# issues: write
# pull-requests: write
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v3
# with:
# node-version: 20.x
# registry-url: 'https://npm.pkg.github.com'
# - run: npm ci
# - run: npm run build
# - name: Release
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# GITHUB_TOKEN: ${{ github.token }}
# run: npx publish

0 comments on commit 68146be

Please sign in to comment.