1
0
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2026-01-17 23:15:13 +01:00
Files
eslint-config-conventions/.github/workflows/release.yml

38 lines
967 B
YAML

name: "Release"
on:
push:
branches: [main, beta]
jobs:
release:
runs-on: "ubuntu-latest"
permissions:
contents: "write"
issues: "write"
pull-requests: "write"
id-token: "write"
steps:
- uses: "actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8" # v6.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: "Setup Node.js"
uses: "actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f" # v6.1.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 }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}