Skip to content

Automate Tests, Finally #1

Automate Tests, Finally

Automate Tests, Finally #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
Test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.x', '20.x', '22.x']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test
- run: npm run build
# Release:
# runs-on: ubuntu-latest
# needs: Test
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '22.x'
# cache: 'npm'
# - run: npm ci
# - run: npm run release