Skip to content

chore(deps): update dependency esbuild to v0.21.5 (#2476) #1635

chore(deps): update dependency esbuild to v0.21.5 (#2476)

chore(deps): update dependency esbuild to v0.21.5 (#2476) #1635

name: release-please
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
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: googleapis/release-please-action@v4
id: release
with:
token: ${{ steps.get-token.outputs.token }}
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: '*'
cache: 'npm'
check-latest: true
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- name: Install dependencies
run: CI=1 npm ci
if: ${{ steps.release.outputs.release_created }}
- name: Install Deno
uses: denoland/setup-deno@v1
with:
# Should match the `DENO_VERSION_RANGE` from https://github.com/netlify/edge-bundler/blob/e55f825bd985d3c92e21d1b765d71e70d5628fba/node/bridge.ts#L17
deno-version: v1.37.0
- name: Build
run: npm run build
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- uses: netlify/submit-build-plugin-action@v1
if: ${{ steps.release.outputs.release_created }}
with:
github-token: ${{ steps.get-token.outputs.token }}