Skip to content

Add changesets tool #382

Add changesets tool

Add changesets tool #382

Workflow file for this run

name: Build, test & release
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: "Install deps and build"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build
test:
name: "Run tests"
runs-on: ubuntu-latest
steps:
- run: npm test
prep-release:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}