Skip to content

chore(ci): fix pipeline #6

chore(ci): fix pipeline

chore(ci): fix pipeline #6

Workflow file for this run

name: "Publish"
on:
workflow_dispatch:
push:
branches:
- master
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 }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
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
- run: npm run build
- name: Publish
run: npm run semantic-release
- name: Deploy docs
run: npm run deploy-docs