Release #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: [workflow_dispatch] | |
jobs: | |
test: | |
name: Run tests | |
uses: ./.github/workflows/test.yml | |
release: | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_OWNER_TOKEN }} | |
persist-credentials: false | |
- name: Install dependencies | |
run: npm i | |
- name: Build | |
run: npm run compile | |
- name: Semantic release | |
uses: codfish/semantic-release-action@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_OWNER_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
GIT_AUTHOR_NAME: '${{ github.actor }}' | |
GIT_COMMITTER_NAME: '${{ github.actor }}' |