mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2026-06-09 23:25:33 +02:00
41 lines
975 B
YAML
41 lines
975 B
YAML
name: "Release"
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
id-token: "write" # OIDC
|
|
contents: "read"
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: "ubuntu-latest"
|
|
permissions:
|
|
contents: "write"
|
|
issues: "write"
|
|
pull-requests: "write"
|
|
id-token: "write"
|
|
steps:
|
|
- uses: "actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10" # v6.0.3
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: "Setup Node.js"
|
|
uses: "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e" # v6.4.0
|
|
with:
|
|
node-version: "lts/*"
|
|
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: "Release"
|
|
run: "node --run release"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|