mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-28 08:48:50 +00:00
29 lines
591 B
YAML
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
|