Skip to content

Merge pull request #73 from kobbikobb/1.1.3 #10

Merge pull request #73 from kobbikobb/1.1.3

Merge pull request #73 from kobbikobb/1.1.3 #10

Workflow file for this run

name: On Push
on:
push:
branches:
- master
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Release
uses: justincy/github-action-npm-release@2.0.2
id: release
- name: Publish to npm
if: ${{ steps.release.outputs.released == 'true' }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}