-
-
Notifications
You must be signed in to change notification settings - Fork 277
34 lines (30 loc) · 800 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build Pull Requests
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
strategy:
matrix:
# ubuntu build not supported in paket.dependencies for repo builds,
# need to add linux commands first
os: [windows-latest, macos-latest]
fail-fast: false # we have timing issues on some OS, so we want them all to run
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
- uses: actions/setup-node@v3
with:
node-version: '22'
cache: 'yarn'
- name: Restore tools
run: dotnet tool restore
- run: yarn global add @vscode/vsce
- name: Run Test
run: dotnet run --project build -- -t Build