Skip to content

ci: version bump to release-0.0.9 #9

ci: version bump to release-0.0.9

ci: version bump to release-0.0.9 #9

Workflow file for this run

name: "Publish"
on:
push:
tags:
- "release-*"
jobs:
publish:
name: "Publish"
timeout-minutes: 60
runs-on: ubuntu-22.04
steps:
- name: "Checkout source code"
uses: "actions/checkout@v3"
- name: "Setup Node"
uses: "actions/setup-node@v3"
with:
node-version: current
cache: 'npm'
- uses: actions/cache@v3
with:
path: '**/node_modules'
key: node_modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
npm publish --access public
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}