Skip to content

feat: ci

feat: ci #5

Workflow file for this run

name: Dry Run Publish
on:
pull_request:
branches:
- main
jobs:
dryRun:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Audit dependencies
run: npm audit signatures
- name: Tests
run: npm test
- name: Dry Run Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release --dry-run