Skip to content

v0.4.0: Utterance.language #8

v0.4.0: Utterance.language

v0.4.0: Utterance.language #8

Workflow file for this run

name: release
on:
release:
types:
- published
jobs:
publish:
name: publish
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up Node for npm
uses: actions/setup-node@v4
with:
node-version: latest
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Set up Node for GitHub
uses: actions/setup-node@v4
with:
node-version: latest
registry-url: https://npm.pkg.github.com
scope: '@digitallinguistics'
- name: Publish to GitHub Package Registry
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}