Skip to content

Publish

Publish #31

Workflow file for this run

name: Publish
on:
release:
types: [published, edited]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name }}
- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Update Schemas
run: yarn fetch-schemas
- name: Install dependencies
run: rm -rf node_modules && yarn
- name: Run unit tests
run: yarn test
- name: Build
run: yarn build
- uses: JasonEtco/build-and-tag-action@v2
env:
GITHUB_TOKEN: ${{ github.token }}