github ci fixes? removed travis

This commit is contained in:
Steven Hugg 2021-09-16 11:42:42 -05:00
parent 89cc76c14b
commit 6e568d0c42
2 changed files with 2 additions and 14 deletions

View File

@ -26,6 +26,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: git submodule init
- run: git submodule update
- run: npm ci
- run: npm run build --if-present
- run: npm test

View File

@ -1,14 +0,0 @@
# Handle git submodules yourself
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
language: node_js
node_js:
- "16.4.1"
script:
- npm run build
- npm test