Skip to content

Commit

Permalink
chore: deploy to gh packages
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotstocker authored Jul 30, 2024
1 parent 5dcf263 commit ea1f0da
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Test + Release

on:
pull_request:
branches:
- main

push:
branch:
branches:
- main
jobs:
test:
Expand All @@ -27,17 +23,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: '@attest'

- run: npm install

- name: Publish
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: 'Dependant Bot'
GIT_AUTHOR_EMAIL: '[email protected]'
GIT_COMMITTER_NAME: 'Dependant Bot'
GIT_COMMITTER_EMAIL: '[email protected]'
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ea1f0da

Please sign in to comment.