Skip to content

Update package version to 1.0.3, enhance CI/CD workflows, and refacto… #66

Update package version to 1.0.3, enhance CI/CD workflows, and refacto…

Update package version to 1.0.3, enhance CI/CD workflows, and refacto… #66

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Run build
run: npm isntall
- name: Run test
run: npm run test
- name: Verify build and test
run: echo "Build and test completed successfully!"