gns3-web-ui/.github/workflows/main.yml
2022-07-23 11:09:49 +02:00

29 lines
591 B
YAML

name: Build
on:
push:
branches:
- '**'
pull_request:
branches:
- master
- master-3.0
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 14, 16, 18 ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Install JS dependencies
run: yarn install --frozen-lockfile --immutable
- name: Test
run: yarn test