aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml28
1 files changed, 13 insertions, 15 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b758474..7b73b7d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -3,25 +3,23 @@ name: CI
on:
pull_request:
branches:
- - '**'
+ - "**"
push:
branches:
- - master
+ - main
jobs:
build:
-
runs-on: ubuntu-latest
-
steps:
- - uses: actions/checkout@v1
- - uses: actions/setup-node@v1
- with:
- node-version: 12
- - name: npm install, build, and test
- run: |
- npm install
- npm run build --if-present
- npm test
- env:
- CI: true
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v2
+ with:
+ node-version: 14
+ - name: npm install, build, and test
+ run: |
+ npm install
+ npm run build --if-present
+ npm test
+ env:
+ CI: true