Skip to content

updating github actions #4

updating github actions

updating github actions #4

Workflow file for this run

name: Main
on: push
jobs:
main:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: '20.x'
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x' # SDK Version to use; x will use the latest version of the 8.0 channel
- if: runner.os == 'Windows'
name: Install Windows dependencies
run: npm i
- if: runner.os == 'Linux'
name: Install Linux dependencies
run: EDGE_USE_CORECLR=1 npm i
- if: runner.os == 'macOS'
name: Install macOS dependencies
run: EDGE_USE_CORECLR=1 npm i
- if: runner.os == 'Windows'
name: Run Windows tests
run: |
npm test
SET EDGE_USE_CORECLR=1 & npm test
- if: runner.os == 'Linux'
name: Run Linux tests
run: EDGE_USE_CORECLR=1 npm test
- if: runner.os == 'macOS'
name: Run macOS tests
run: EDGE_USE_CORECLR=1 npm test