Skip to content

Commit 72bfc7d

Browse files
authored
Create main.yml
1 parent 1075401 commit 72bfc7d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
25+
token: ${{ secrets.GITHUB_TOKEN }}
26+
pattern: '*.ts'
27+
- name: Test
28+
run: yarn test

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy