mirror of
https://github.com/azure/login.git
synced 2026-03-15 09:20:56 -04:00
29 lines
484 B
YAML
29 lines
484 B
YAML
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build_test_job:
|
|
name: 'Build and test job'
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-latest, ubuntu-latest]
|
|
steps:
|
|
|
|
- name: 'Checking out repo code'
|
|
uses: actions/checkout@v2
|
|
|
|
- name: 'Validate build'
|
|
run: |
|
|
npm install
|
|
npm run build
|
|
|
|
- name: 'Run L0 tests'
|
|
run: |
|
|
npm run test
|