Skip to content

chore(deps): fixed deps versions #48

chore(deps): fixed deps versions

chore(deps): fixed deps versions #48

Workflow file for this run

on:
push:
branches:
- main
name: release-please
permissions:
contents: write
pull-requests: write
jobs:
build-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
cache-dependency-path: yarn.lock
- run: yarn install --frozen-lockfile
- run: yarn run lint
- run: yarn run build
release-please:
needs: build-check
outputs:
release_created: ${{ steps.release.outputs.release_created }}
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
publish:
needs: release-please
if: needs.release-please.outputs.release_created == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
cache-dependency-path: yarn.lock
registry-url: 'https://registry.npmjs.org'
always-auth: true
- run: yarn install --frozen-lockfile
- run: yarn run build
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}