Skip to content

Chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#160) #98

Chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#160)

Chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#160) #98

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Release
if: ${{ github.event_name == 'workflow_dispatch' }}
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Release (dry-run)
if: ${{ github.event_name != 'workflow_dispatch' }}
run: npx semantic-release --debug --dry-run
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}