Skip to content

Merge pull request #139 from 1mohammad/patch-1 #92

Merge pull request #139 from 1mohammad/patch-1

Merge pull request #139 from 1mohammad/patch-1 #92

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v2
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: restore dependencies
uses: bahmutov/npm-install@v1
- name: release
run: npm run release
env:
HUSKY: 0 # semantic-release does a push which would trigger the pre-push git hook
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}