Skip to content

.

. #1094

Workflow file for this run

---
name: Release
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
push:
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: yarn'
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install --immutable
- name: Format
run: yarn run format --check
- name: Lint
run: yarn run lint
- name: Test
run: yarn run test
- name: Build
run: yarn run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn run release