Skip to content

Commit db6fb9c

Browse files
committed
ci: move from circle-ci to github actions
1 parent 0334084 commit db6fb9c

File tree

2 files changed

+39
-46
lines changed

2 files changed

+39
-46
lines changed

.circleci/config.yml

-46
This file was deleted.

.github/workflows/master.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 14
23+
24+
- name: Restore cache
25+
uses: actions/cache@v4
26+
with:
27+
path: ~/.npm
28+
key: dependency-cache-${{ hashFiles('package-lock.json') }}
29+
restore-keys: |
30+
dependency-cache-
31+
32+
- name: Install dependencies
33+
run: npm ci
34+
35+
- name: Build
36+
run: npm run build
37+
38+
- name: Run tests for schematics
39+
run: npm run test:schematics

0 commit comments

Comments
 (0)