Skip to content

Added gitCheckoutDefaultBranch command #95

Added gitCheckoutDefaultBranch command

Added gitCheckoutDefaultBranch command #95

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
jobs:
run-tests:
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
env:
ANDREAS_TEST: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Install dependencies
run: npm --color install
- name: Compile
run: npm --color run compile
- name: Run tests (Linux)
run: xvfb-run -a npm --color run test:ci
if: runner.os == 'Linux'
- name: Run tests (Other)
run: npm --color run test:ci
if: runner.os != 'Linux'