Skip to content

Release

Release #57

Workflow file for this run

name: Release
on:
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [20]
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
node_version: ${{ matrix.node_version }}
git_bot_token: ${{ secrets.GIT_BOT_TOKEN }}
- name: Test
uses: ./.github/actions/test
with:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: [test]
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
git_bot_token: ${{ secrets.GIT_BOT_TOKEN }}
- name: Release
uses: ./.github/actions/release
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}