markdownlint-rule-relative-.../.github/workflows/release.yml

38 lines
875 B
YAML
Raw Normal View History

name: "Release"
2023-01-02 15:23:16 +01:00
on:
push:
branches: [main]
2023-01-02 15:23:16 +01:00
jobs:
release:
runs-on: "ubuntu-latest"
permissions:
contents: "write"
issues: "write"
pull-requests: "write"
id-token: "write"
2023-01-02 15:23:16 +01:00
steps:
- uses: "actions/checkout@v4.1.7"
2023-01-02 15:23:16 +01:00
with:
fetch-depth: 0
persist-credentials: false
- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
2023-01-02 15:23:16 +01:00
with:
2024-11-11 13:24:45 +01:00
node-version: "lts/*"
cache: "npm"
2023-01-02 15:23:16 +01:00
- name: "Install dependencies"
run: "npm clean-install"
2023-01-02 15:23:16 +01:00
- name: "Verify the integrity of provenance attestations and registry signatures for installed dependencies"
run: "npm audit signatures"
- name: "Release"
run: "node --run release"
2023-01-02 15:23:16 +01:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}