mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
Specify node version
This commit is contained in:
parent
17da325585
commit
6320189717
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@ -24,21 +24,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# 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
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
- name: Cache NPM dependencies
|
|
||||||
uses: actions/cache@v1
|
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
node-version: "14"
|
||||||
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
|
cache: "npm"
|
||||||
restore-keys: |
|
|
||||||
${{ runner.OS }}-npm-cache-
|
- name: Install Dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
- name: Install NPM dependencies
|
|
||||||
run: npm ci
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user