Skip to content

Commit 006f522

Browse files
feat: create actions.yaml
1 parent f8b1655 commit 006f522

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/actions.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: TypeScript Compile and Test CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [14.x]
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- name: Install Yarn
24+
run: npm install -g yarn
25+
- name: Install Dependencies
26+
run: yarn install --frozen-lockfile
27+
- name: Compile TypeScript
28+
run: yarn build-ts
29+
- name: Run Tests
30+
run: yarn test

0 commit comments

Comments
 (0)