Skip to content

v1.10.1

v1.10.1 #6

Workflow file for this run

name: Publish
on:
release:
types:
- published
jobs:
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
scope: '@articulate'
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISH }}
github-packages:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@articulate'
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn publish --tag legacy
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}