Skip to content

Commit

Permalink
CI: Remove publish gpr
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorTom327 authored Jun 26, 2024
1 parent b235c63 commit e3553cd
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,33 @@ jobs:
name: build-artifact
path: ./dist

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20.x"
registry-url: https://npm.pkg.github.com/
cache: 'yarn'
- uses: actions/cache@v3
id: cache-build
with:
path: ./dist
key: ${{ github.sha }}
- run: echo "@majortom327:registry=https://npm.pkg.github.com" >> .npmrc
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# publish-gpr:
# needs: build
# runs-on: ubuntu-latest
# permissions:
# packages: write
# contents: read
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: "20.x"
# registry-url: https://npm.pkg.github.com/
# cache: 'yarn'
# - uses: actions/cache@v3
# id: cache-build
# with:
# path: ./dist
# key: ${{ github.sha }}
# - run: echo "@majortom327:registry=https://npm.pkg.github.com" >> .npmrc
# - run: yarn publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- uses: actions/upload-artifact@v3
with:
name: build-artifact
path: ./dist
# - uses: actions/upload-artifact@v3
# with:
# name: build-artifact
# path: ./dist

publish-npm:
needs: build
Expand Down

0 comments on commit e3553cd

Please sign in to comment.