Skip to content

switch source to ESM, migrate from Jest to UVU, drop Node 16 #44

switch source to ESM, migrate from Jest to UVU, drop Node 16

switch source to ESM, migrate from Jest to UVU, drop Node 16 #44

Workflow file for this run

name: '🧪 Run Tests'
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 21]
name: Testing on Node ${{ matrix.node }}
steps:
- name: '🚚 Checkout'
uses: actions/checkout@v4
- name: '🔧 Setup Node'
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: '📦️ Install dependencies'
run: yarn
- name: '🧪 Run Unit tests'
run: yarn test
- name: '⚗️ Run CI Classic test'
uses: ./
with:
path: tests/ci/classic/yarn.lock
token: ${{ secrets.GITHUB_TOKEN }}
- name: '⚗️ Run CI Berry v2 test'
uses: ./
with:
path: tests/ci/berry-v2/yarn.lock
token: ${{ secrets.GITHUB_TOKEN }}
- name: '⚗️ Run CI Berry v3 test'
uses: ./
with:
path: tests/ci/berry-v3/yarn.lock
token: ${{ secrets.GITHUB_TOKEN }}