Skip to content

chore(91): prettier (#138) #96

chore(91): prettier (#138)

chore(91): prettier (#138) #96

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions: {}
jobs:
release:
name: Release
runs-on: ubuntu-24.04
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- name: Release Please
id: release
uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38
with:
release-type: node
- name: Checkout
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Setup Node
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238
with:
node-version: 20.x
package-manager-cache: false
- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: npm ci
- name: Build library
if: ${{ steps.release.outputs.release_created }}
run: npm run build-lib
- name: Publish package
if: ${{ steps.release.outputs.release_created }}
uses: JS-DevTools/npm-publish@4ce4bd0f334d5316473155078da1955d42148494
with:
token: ${{ secrets.NPM_TOKEN}}
access: public
provenance: true