Skip to content

fix: use --frozen-lockfile in CI to prevent yarn.lock modifications (… #34

fix: use --frozen-lockfile in CI to prevent yarn.lock modifications (…

fix: use --frozen-lockfile in CI to prevent yarn.lock modifications (… #34

Workflow file for this run

name: Publish
on:
push:
branches:
- "master"
jobs:
publish:
runs-on: ubuntu-latest
name: Publish
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.ADMIN_TOKEN }}
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Setup node
uses: actions/setup-node@v5
with:
node-version: 22
cache: 'yarn'
- run: |
yarn -v
yarn install --frozen-lockfile
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn install --frozen-lockfile
yarn build
yarn auto shipit