Skip to content

pkg: add changeset

pkg: add changeset #3

Workflow file for this run

name: Test and compile
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test
- name: Compile the package
run: yarn compile
- name: Deploy to npm
run: yarn deploy
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}