Skip to content

Merge pull request #143 from wtfzdotnet/copilot/fix-65 #44

Merge pull request #143 from wtfzdotnet/copilot/fix-65

Merge pull request #143 from wtfzdotnet/copilot/fix-65 #44

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm run test
- name: Run build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run semantic-release