git ssb

1+

Daan Patchwork / patchwork



Tree: ee7fc6b124b44135a3aa33c61598e2b11cc21dd8

Files: ee7fc6b124b44135a3aa33c61598e2b11cc21dd8 / .github / workflows / main.yml

862 bytesRaw
1name: Node.js CI
2
3on:
4 push:
5 branches: [master]
6 pull_request:
7 branches: [master]
8
9jobs:
10 build:
11 runs-on: ${{ matrix.os }}
12
13 strategy:
14 fail-fast: false
15 matrix:
16 os: [macos-latest, windows-latest, ubuntu-latest]
17 node-version: [10.x, 12.x, 14.x, 15.x]
18
19 steps:
20 - run: git config --global core.autocrlf false
21 - uses: actions/checkout@v2
22 - name: Use Node.js ${{ matrix.node-version }}
23 uses: actions/setup-node@v1
24 with:
25 node-version: ${{ matrix.node-version }}
26 - run: npm ci
27 # - run: npm test
28 # build (will not publish)
29 - run: npm run build
30 if: github.ref != 'refs/heads/master'
31 # dist (may publish)
32 - run: npm run dist
33 if: github.ref == 'refs/heads/master'
34 env:
35 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36

Built with git-ssb-web