NET-Web-API-w-Angular/my-app/node_modules/wildcard/.github/workflows/build.yml

24 lines
459 B
YAML
Raw Normal View History

2024-02-09 00:38:41 +00:00
name: Build & Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn test