Skip to content

chore(deps): update dependency @netlify/functions to v3 (#483) #378

chore(deps): update dependency @netlify/functions to v3 (#483)

chore(deps): update dependency @netlify/functions to v3 (#483) #378

name: release-please
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- uses: navikt/github-app-token-generator@a8ae52448279d468cfbca5cd899f2457f0b1f643
id: get-token
with:
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
app-id: ${{ secrets.TOKENS_APP_ID }}
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ steps.get-token.outputs.token }}
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.releases_created }}
- uses: actions/setup-node@v4
with:
check-latest: true
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.releases_created }}
- name: Install Deno
uses: denoland/setup-deno@v1
with:
# Should satisfy the `DENO_VERSION_RANGE` from https://github.com/netlify/edge-bundler/blob/main/node/bridge.ts#L17
deno-version: v1
if: ${{ steps.release.outputs.releases_created }}
- run: corepack enable
- name: Install dependencies
run: pnpm install
- run: pnpm build:packages
if: ${{ steps.release.outputs.releases_created }}
- name: Authenticate pnpm
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
if: ${{ steps.release.outputs.releases_created }}
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: pnpm -r publish --filter "@netlify/*"
env:
NPM_CONFIG_PROVENANCE: true
if: ${{ steps.release.outputs.releases_created }}