Skip to content

feat: initial release #3

feat: initial release

feat: initial release #3

Workflow file for this run

name: CI Workflow
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
ci:
name: CI and Release Pipeline
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linting
run: npm run lint:ci
- name: Run unit tests
run: npm test
- name: Build project
run: npm run build
- name: Run package-e2e tests
working-directory: package-e2e
run: |
npm install
npm test
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release