Skip to content

Upgrade auto packages to fix GitHub Actions release error (#21) #2

Upgrade auto packages to fix GitHub Actions release error (#21)

Upgrade auto packages to fix GitHub Actions release error (#21) #2

Workflow file for this run

name: Release
on:
push:
branches:
- main
- next
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Create Release
run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}