Skip to content

Publish

Publish #893

name: Publish
on:
schedule:
- cron: '0 9 * * *'
workflow_dispatch:
branches:
- master
jobs:
run:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm install
- run: npm run copy-types
- uses: codfish/semantic-release-action@v2
with:
repository_url: https://github.com/${{github.REPOSITORY}}.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
continue-on-error: true