Skip to content

Release

Release #4

Workflow file for this run

name: Release
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
name: Release
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: yarn
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: node_modules
key: 14.x-${{ runner.OS }}-build-${{ hashFiles('package.json') }}
- run: yarn install
- run: yarn build
- uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}