Skip to content

Publish

Publish #3

Workflow file for this run

name: "Publish"
on:
workflow_dispatch:
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
name: "${{ github.ref_name }} "
env:
NODE_AUTH_TOKEN: ${{ secrets.ACCESS_TOKEN_GITHUB }}
GH_TOKEN: ${{ secrets.ACCESS_TOKEN_GITHUB }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run test
- name: Publish
run: npm run semantic-release
- name: Deploy docs
run: npm run deploy-docs