Skip to content

Merge pull request #59 from subeshb1/ISS-58 #17

Merge pull request #59 from subeshb1/ISS-58

Merge pull request #59 from subeshb1/ISS-58 #17

Workflow file for this run

name: "Publish"
on:
workflow_dispatch:
push:
branches:
- master
permissions:
id-token: write
contents: write
packages: write
jobs:
deploy:
runs-on: ubuntu-latest
name: "${{ github.ref_name }} "
env:
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
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_REGISTRY: https://registry.npmjs.org:8443/
- name: Deploy docs
run: npm run deploy-docs