Skip to content

chore(deps): update all non-major dependencies (#658) #540

chore(deps): update all non-major dependencies (#658)

chore(deps): update all non-major dependencies (#658) #540

on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- uses: navikt/github-app-token-generator@v1
id: get-token
with:
private-key: ${{ secrets.APP_PRIVATE_KEY }}
app-id: ${{ secrets.APP_ID }}
- uses: google-github-actions/release-please-action@v4
id: release
with:
command: manifest
token: ${{ steps.get-token.outputs.token }}
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
cache: "pnpm"
check-latest: true
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: |
corepack enable
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 "@unpic/*"
env:
NPM_CONFIG_PROVENANCE: true
if: ${{ steps.release.outputs.releases_created }}