Skip to content

Merge pull request #44 from quant-daddy/changeset-release/master #76

Merge pull request #44 from quant-daddy/changeset-release/master

Merge pull request #44 from quant-daddy/changeset-release/master #76

Workflow file for this run

name: Release
on:
push:
branches:
- master
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node
uses: actions/setup-node@v2
with:
node-version: 16
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- run: npm ci
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}