1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

[EC-236] Add CLI dependencies to root package.json (#2816)

This commit is contained in:
Oscar Hinton
2022-06-03 20:11:47 +02:00
committed by GitHub
parent da5e4a57d0
commit 2126ac414c
6 changed files with 5149 additions and 22951 deletions

View File

@@ -80,8 +80,13 @@ jobs:
uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # v3.2.0
with:
cache: 'npm'
cache-dependency-path: 'apps/cli/**/package-lock.json'
cache-dependency-path: '**/package-lock.json'
node-version: '16'
- name: Install node-gyp
run: |
npm install -g node-gyp
node-gyp install $(node -v)
- name: Get pkg-fetch
shell: pwsh
@@ -138,11 +143,9 @@ jobs:
ResourceHacker -open version-info.rc -save version-info.res -action compile
ResourceHacker -open %WIN_PKG_BUILT% -save %WIN_PKG_BUILT% -action addoverwrite -resource version-info.res
- name: Setup sub-module
run: npm run sub:init
- name: Install
run: npm ci
working-directory: ./
- name: Run tests
run: npm run test