chore(deps): update dependency @types/node to v22.8.7 #220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
concurrency: | |
group: ${{ github.workflow }} | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
release-please: | |
name: Release Please | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create Release | |
id: release | |
uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4 | |
# see https://github.com/google-github-actions/release-please-action#automating-publication-to-npm | |
- name: Checkout Repository | |
if: ${{ steps.release.outputs.release_created }} | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Node.js | |
if: ${{ steps.release.outputs.release_created }} | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install | |
if: ${{ steps.release.outputs.release_created }} | |
uses: bahmutov/npm-install@438a933ce1059e4e2b39e3d2a42c5067070dd444 # v1.10.4 | |
- name: Build | |
if: ${{ steps.release.outputs.release_created }} | |
run: npm run build | |
- name: Publish to npm | |
if: ${{ steps.release.outputs.release_created }} | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
run: npm publish |