Skip to content

Commit

Permalink
chore: use re-usable release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr committed Oct 18, 2023
1 parent 8005329 commit b8aaa2d
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,11 @@ on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
- v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+
- v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+

env:
CI: true
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prepare for publication to npm
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
cache: npm
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.INRUPT_NPM_TOKEN }}
uses: inrupt/typescript-sdk-tools/.github/workflows/reusable-release.yml@v2
secrets:
NODE_AUTH_TOKEN: ${{ secrets.INRUPT_NPM_TOKEN }}

0 comments on commit b8aaa2d

Please sign in to comment.