Skip to content

Commit ba61970

Browse files
authored
Move PR builds to GHA (#118)
1 parent dfcb0e5 commit ba61970

File tree

2 files changed

+32
-20
lines changed

2 files changed

+32
-20
lines changed

.github/workflows/ci.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
# Ensure scripts are run with pipefail. See:
15+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
16+
defaults:
17+
run:
18+
shell: bash
19+
20+
jobs:
21+
test:
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- uses: actions/checkout@v3
26+
- uses: actions/setup-node@v3
27+
with:
28+
node-version: 16
29+
- run: npm ci
30+
31+
- name: Test
32+
run: npm test

azure-pipelines.yml

-20
This file was deleted.

0 commit comments

Comments
 (0)