Skip to content

Add example to readme #26

Add example to readme

Add example to readme #26

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- run: yarn lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- run: yarn test
publish:
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- run: yarn build
- uses: changesets/action@v1
with:
version: yarn run changeset version
#publish: yarn run changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#NPM_TOKEN: ${{ secrets.NPM_TOKEN }}