mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Merge pull request #955 from PrivateBin/node14
chore: run tests with NodeJS 14
This commit is contained in:
commit
b46b4300ec
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -104,7 +104,7 @@ jobs:
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '14'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: 'js/package-lock.json'
|
cache-dependency-path: 'js/package-lock.json'
|
||||||
|
|
||||||
|
@ -116,6 +116,6 @@ jobs:
|
||||||
working-directory: js
|
working-directory: js
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: mocha
|
run: npm test
|
||||||
working-directory: js
|
working-directory: js
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user