aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/funding.yml1
-rw-r--r--.github/workflows/build.yml17
2 files changed, 18 insertions, 0 deletions
diff --git a/.github/funding.yml b/.github/funding.yml
new file mode 100644
index 0000000..9377c23
--- /dev/null
+++ b/.github/funding.yml
@@ -0,0 +1 @@
+github: [transitive-bullshit]
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..b84b00e
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,17 @@
+name: build
+on: [push, pull_request]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ node-version: [12.x, 14.x]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Use Node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ - run: npm install
+ - run: npm run build --if-present
+ - run: npm run test --if-present