Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/workflows/verify-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Verify and Release
on:
push:
branches:
- main # or master
- main

permissions:
contents: read # for checkout
Expand All @@ -20,12 +20,17 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Run lint, tests, and other verification
- name: Type-check
run: npx tsc --noEmit
- name: Test
run: npm test
- name: Build
run: npm run build

release:
name: Release
Expand All @@ -44,12 +49,16 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
node-version-file: .nvmrc
cache: npm
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release # <- The Run Commnand
run: npx semantic-release
Loading