Cache npm install, add tests

This commit is contained in:
David Edmondson 2021-09-06 13:29:35 -07:00
parent 5873b5fe19
commit 17da325585
3 changed files with 4035 additions and 3753 deletions

@ -25,13 +25,16 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
# - name: Cache NPM dependencies - name: Cache NPM dependencies
# uses: actions/cache@v1 uses: actions/cache@v1
# with: with:
# path: ~/.npm path: ~/.npm
# key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
# restore-keys: | restore-keys: |
# ${{ runner.OS }}-npm-cache- ${{ runner.OS }}-npm-cache-
- name: Test
run: npm run test
- name: Install NPM dependencies - name: Install NPM dependencies
run: npm ci run: npm ci

7763
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -103,10 +103,10 @@
"uglifyjs-webpack-plugin": "^1.3.0", "uglifyjs-webpack-plugin": "^1.3.0",
"url-loader": "^1.0.1", "url-loader": "^1.0.1",
"watchpack": "^1.6.0", "watchpack": "^1.6.0",
"webpack": "^4.12.0", "webpack": "^4.46.0",
"webpack-cli": "^3.0.4", "webpack-cli": "^3.3.12",
"webpack-dev-middleware": "^3.1.3", "webpack-dev-middleware": "^3.7.3",
"webpack-dev-server": "^3.2.1", "webpack-dev-server": "^3.11.2",
"worker-loader": "^2.0.0" "worker-loader": "^2.0.0"
}, },
"engines": { "engines": {