Skip to content

string node versions #290

string node versions

string node versions #290

Workflow file for this run

name: Build & Test
on:
push:
schedule:
- cron: '0 0 * * 0'
jobs:
test:
name: Build & Test ${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '18.19', '18.20', '20.13' ]
steps:
- name: Checkout Branch
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install Dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Test
run: npm run test:coverage
# - name: Post Code Coverage
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}