Release v6.1.0 #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish-on-tag | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
# Always build using the same Node.js version, to ensure consistent | |
# results from scripts/iu-mappings.js. | |
# This version should be the same as the one used in the main workflow. | |
node-version: 20 | |
- name: Install dependencies | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm test | |
- name: Publish | |
env: | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} | |
run: | | |
npm config set access public | |
npm config set registry 'https://wombat-dressing-room.appspot.com/' | |
npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}' | |
npm publish |