Skip to content

v0.3.1: Translation Quotes #7

v0.3.1: Translation Quotes

v0.3.1: Translation Quotes #7

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 }}