mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Bump node to v16 (#422)
* Pull in jslib * Bump engines required to node 16 and npm 8 * Bump @types/node to 16 * Modify build.yml to build with node 16 and npm 8 * Update requirements in README.md * Update 'setup-node' action version * Update 'pkg' to 5.5.1 * Removed installation of npm8 npm8 is included in node v16 * Pull jslib * Change engines to only warn on node < 16 Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3e4aa8e476
commit
18073696d0
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -45,8 +45,8 @@ jobs:
|
||||
needs: setup
|
||||
env:
|
||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||
_WIN_PKG_FETCH_VERSION: 14.17.0
|
||||
_WIN_PKG_VERSION: 3.1
|
||||
_WIN_PKG_FETCH_VERSION: 16.13.0
|
||||
_WIN_PKG_VERSION: 3.2
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
@@ -57,13 +57,9 @@ jobs:
|
||||
choco install reshack --no-progress
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6
|
||||
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458 # v2.5.0
|
||||
with:
|
||||
node-version: '14'
|
||||
|
||||
- name: Update NPM
|
||||
run: |
|
||||
npm install -g npm@7
|
||||
node-version: '16'
|
||||
|
||||
- name: Get pkg-fetch
|
||||
shell: pwsh
|
||||
|
||||
Reference in New Issue
Block a user