Skip to content

Release

Release #28

Workflow file for this run

name: Anyline Guidance SDK
on:
release:
types: [created]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/iron'
- run: yarn install --frozen-lockfile
- run: yarn test
publish:
needs: test
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'lts/iron'
registry-url: https://npm.pkg.github.com/
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn publish --non-interactive
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}