Skip to content

chore: bump version to 0.2.4 and update changelog #12

chore: bump version to 0.2.4 and update changelog

chore: bump version to 0.2.4 and update changelog #12

Workflow file for this run

name: Build and Publish
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Run tests
run: npm test
env:
# Set longer timeout for tests
VITEST_TIMEOUT: 60000
# Uncomment the next line to skip hook tests
SKIP_HOOK_TESTS: true
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}