Skip to content

Commit 7ef4c66

Browse files
authored
Migrate to GH Actions (#132)
* dist: migrate to GH actions * dist: tweak triggers
1 parent e710c81 commit 7ef4c66

File tree

3 files changed

+36
-38
lines changed

3 files changed

+36
-38
lines changed

.circleci/config.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@godaddy/javascript

.github/workflows/cicd.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 'CICD'
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node: ['12', '14', '16']
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 0
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v2
24+
with:
25+
node-version: ${{ matrix.node }}
26+
cache: 'npm'
27+
cache-dependency-path: '**/package-lock.json'
28+
- name: Install dependencies
29+
run: npm ci
30+
- name: Test
31+
run: npm test
32+
- name: Lint
33+
run: npm run lint
34+
- name: Coverage
35+
run: npm run coverage

0 commit comments

Comments
 (0)