Skip to content

chore(deps): update dependency @kintone/dts-gen to ^8.0.11 (#2778) #670

chore(deps): update dependency @kintone/dts-gen to ^8.0.11 (#2778)

chore(deps): update dependency @kintone/dts-gen to ^8.0.11 (#2778) #670

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Create release
outputs:
releases_created: ${{ steps.release.outputs.releases_created }}
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: create-iat
with:
app-id: ${{ secrets.RELEASE_GITHUB_APP_ID}}
private-key: ${{ secrets.RELEASE_GITHUB_APP_KEY }}
- uses: googleapis/release-please-action@f3969c04a4ec81d7a9aa4010d84ae6a7602f86a7 # v4
id: release
with:
token: ${{ steps.create-iat.outputs.token }}
publish:
name: Publish to npm
runs-on: ubuntu-latest
needs: release
if: ${{ needs.release.outputs.releases_created == 'true' }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
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
actions-timeline:
needs: [publish]
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
steps:
- uses: Kesin11/actions-timeline@b03a6aa289adef5534c84ccb6fbef7c975973574 # v2