Skip to content

feat: add GitHub Actions CI/CD workflows for continuous testing #2

feat: add GitHub Actions CI/CD workflows for continuous testing

feat: add GitHub Actions CI/CD workflows for continuous testing #2

Workflow file for this run

name: Cross-Platform Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test-cross-platform:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test
- name: Build project
run: yarn build