Skip to content

Release

Release #17

Workflow file for this run

name: Release
on:
workflow_dispatch:
permissions:
packages: write
pull-requests: write
contents: write
issues: write
id-token: write
attestations: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 20
cache: npm
- name: Install Dependencies
run: npm ci
- name: Format
run: npm run format
- name: Lint
run: npm run lint
# - name: Test
# run: npm run test
- name: Build
run: npm run build
- name: Zip dist
run: zip -r dist.zip dist
- name: Attest
uses: actions/[email protected]
with:
subject-path: |
defaults/**/*
dist/**/*
templates/**/*
LICENSE
README.md
package.json
- name: Semantic Release
uses: cycjimmy/[email protected]
env:
HUSKY: 0
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
- name: Upload Artifact
uses: actions/[email protected]
with:
name: dist
path: dist.zip