Skip to content

refactor: Resolve Lint warning message (#2217) #147

refactor: Resolve Lint warning message (#2217)

refactor: Resolve Lint warning message (#2217) #147

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Create release
permissions:
contents: write
pull-requests: write
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@ca6063f4ed81b55db15b8c42d1b6f7925866342d # v3
id: release
with:
command: manifest
publish:
name: Publish to npm
runs-on: ubuntu-latest
needs: release
if: ${{ needs.release.outputs.releases_created }}
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Configure npm user
run: npm config set "//registry.npmjs.org/:_authToken=${NPM_TOKEN}"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: pnpm build
- run: pnpm -r publish