Skip to content

Commit

Permalink
ci(INFRAPRJ-6604): push to npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
dedsxc committed Aug 23, 2024
1 parent 2b4e142 commit fee79a6
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Release crypto-icons package

on:
push:
branches:
- main
paths:
- "lib/**"
pull_request:
# push:
# branches:
# - main
# paths:
# - "lib/**"

jobs:
publish-gpr:
Expand All @@ -21,7 +22,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org

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

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

0 comments on commit fee79a6

Please sign in to comment.