-
Notifications
You must be signed in to change notification settings - Fork 14
40 lines (32 loc) · 963 Bytes
/
build.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
35
36
37
38
39
40
name: build
on:
pull_request:
branches: [master]
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Install npm dependencies
run: |
npm ci
working-directory: src/Ljbc1994.Blazor.IntersectionObserver
- name: Run tests
run: |
npm run test
working-directory: src/Ljbc1994.Blazor.IntersectionObserver
- name: Setup Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
include-prerelease: true
- name: Dotnet build
run: dotnet build --configuration Release
- name: Dotnet pack
run: dotnet pack src/Ljbc1994.Blazor.IntersectionObserver/*.csproj --configuration Release --verbosity Detailed