Skip to content

Release

Release #104

Workflow file for this run

name: Release
on:
schedule:
- cron: '0 2 * * *'
jobs:
test:
uses: ./.github/workflows/test.yml
release:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
scope: '@pkmn'
- uses: goto-bus-stop/setup-zig@v2
- run: npm install --ignore-scripts
- run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}