Skip to content

ci: run release and codeql on current node and actions #268

ci: run release and codeql on current node and actions

ci: run release and codeql on current node and actions #268

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
# semantic-release needs full history and tags, and pushes with GH_TOKEN
fetch-depth: 0
persist-credentials: false
- name: Use Node.js 24.x
uses: actions/setup-node@v7
with:
node-version: 24.x
cache: npm
- name: Install
run: npm ci
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Semantic Release
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}