Skip to content

Merge pull request #149 from RyanClementsHax/feat/update-deps #93

Merge pull request #149 from RyanClementsHax/feat/update-deps

Merge pull request #149 from RyanClementsHax/feat/update-deps #93

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v2
with:
node-version: 22
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 }}