Skip to content

chore(deps): update devdependency vitest to v3 (#759) #41

chore(deps): update devdependency vitest to v3 (#759)

chore(deps): update devdependency vitest to v3 (#759) #41

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
repository-projects: write
steps:
- uses: navikt/github-app-token-generator@v1
id: get-token
with:
private-key: ${{ secrets.APP_PRIVATE_KEY }}
app-id: ${{ secrets.APP_ID }}
- name: Checkout Repo
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Setup PNPM
uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Build Packages
run: pnpm build:packages
- name: publint
run: pnpm lint:publint
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm changeset version
publish: pnpm changeset publish
commit: "ci: release"
title: "ci: release"
env:
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true