mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-04 07:46:21 +02:00
31 lines
606 B
YAML
31 lines
606 B
YAML
name: Columnify Unit Tests
|
|
'on':
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version:
|
|
- 16.x
|
|
- 14.x
|
|
- 12.x
|
|
- 10.x
|
|
steps:
|
|
- name: 'Set up Node.js ${{ matrix.node-version }}'
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '${{ matrix.node-version }}'
|
|
cache: 'npm'
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Run Tests
|
|
run: npm test
|
|
|