Skip to content

simplify gh workflows #268

simplify gh workflows

simplify gh workflows #268

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
quality:
uses: ./.github/workflows/quality.yml
publish:
runs-on: ubuntu-latest
needs: quality
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile --prefer-offline
- name: Build
run: yarn build
- id: publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}