We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1075401 commit 72bfc7dCopy full SHA for 72bfc7d
.github/workflows/main.yml
@@ -0,0 +1,28 @@
1
+name: CI
2
+
3
+on: [push]
4
5
+jobs:
6
+ Job:
7
+ runs-on: ubuntu-latest
8
+ timeout-minutes: 3
9
+ steps:
10
+ - uses: actions/checkout@v1
11
+ - name: Read .nvmrc
12
+ run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
13
+ id: nvm
14
+ - name: Use Node.js (.nvmrc)
15
+ uses: actions/setup-node@v1
16
+ with:
17
+ node-version: "${{ steps.nvm.outputs.NVMRC }}"
18
+ - name: Install
19
+ run: yarn install
20
+ - name: Build
21
+ run: yarn build
22
+ - name: Lint
23
+ uses: mooyoul/tslint-actions@master
24
25
+ token: ${{ secrets.GITHUB_TOKEN }}
26
+ pattern: '*.ts'
27
+ - name: Test
28
+ run: yarn test
0 commit comments