mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
Cache npm install, add tests
This commit is contained in:
parent
5873b5fe19
commit
17da325585
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
7751
package-lock.json
generated
7751
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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user