Skip to content

chore: add commit hook #4

chore: add commit hook

chore: add commit hook #4

Workflow file for this run

jobs:
test:
environment: release
name: Test
runs-on: ubuntu-latest
steps:
- name: setup repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@v2
with:
cache: 'npm'
node-version: '20'
- run: npm ci
- run: npm run lint:eslint
- run: npm run lint:tsc
- run: npm run test:ava
- run: npm run build
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
name: Test, build and release
on:
push:
branches:
- main