Skip to content

Commit 0c3a696

Browse files
authored
upgrade yarn + node to 16 (#811)
1 parent 36e93c7 commit 0c3a696

File tree

13 files changed

+899
-823
lines changed

13 files changed

+899
-823
lines changed

.buildkite/Dockerfile.agent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM 528451384384.dkr.ecr.us-west-2.amazonaws.com/buildkite-agent-node14
1+
FROM 528451384384.dkr.ecr.us-west-2.amazonaws.com/buildkite-agent-node16:node-16.16
22

33
# 2. Install WebKit dependencies
44
RUN apt-get update && apt-get install -y --no-install-recommends \
@@ -52,4 +52,4 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5252
RUN apt-get update && apt-get install -y --no-install-recommends \
5353
xvfb
5454

55-
ENTRYPOINT []
55+
ENTRYPOINT []

.github/workflows/create-github-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- name: Checkout Repo
1313
uses: actions/checkout@v3
14-
- name: Setup Node.js 12.x
14+
- name: Setup Node.js 16.x
1515
uses: actions/setup-node@v3
1616
with:
17-
node-version: 12.x
17+
node-version: 16.x
1818
cache: "yarn"
1919
- name: Install Dependencies
2020
run: HUSKY=0 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 yarn install --immutable

.github/workflows/release-creator.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,12 @@ jobs:
2121
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2222
fetch-depth: 0
2323

24-
- name: Setup Node.js 12.x
24+
- name: Setup Node.js 16.x
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 12.x
27+
node-version: 16.x
2828
cache: "yarn"
2929

30-
- name: Set yarn version
31-
run: yarn set version self
32-
3330
- name: Install Dependencies
3431
run: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 yarn install --immutable
3532

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.17
1+
16.16

.yarn/releases/yarn-3.2.1.cjs

Lines changed: 0 additions & 786 deletions
This file was deleted.

.yarn/releases/yarn-3.4.1.cjs

Lines changed: 873 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ plugins:
1212

1313
preferInteractive: true
1414

15-
yarnPath: .yarn/releases/yarn-3.2.1.cjs
15+
yarnPath: .yarn/releases/yarn-3.4.1.cjs

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"packages/*"
88
],
99
"engines": {
10-
"node": "^14.15.0"
10+
"node": "^16.16.0"
1111
},
1212
"scripts": {
1313
"test": "jest",
@@ -31,7 +31,7 @@
3131
"node+deps": "turbo run --filter=@segment/analytics-node",
3232
"clean": "bash scripts/clean.sh"
3333
},
34-
"packageManager": "yarn@3.2.1",
34+
"packageManager": "yarn@3.4.1",
3535
"devDependencies": {
3636
"@changesets/changelog-github": "^0.4.5",
3737
"@changesets/cli": "^2.23.2",

packages/browser/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ help: ## Lists all available make tasks and some short documentation about them
1010

1111
# Installs npm dependencies
1212
node_modules:
13-
yarn set version self
1413
yarn install --immutable
1514
@touch $@
1615

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"@types/js-cookie": "3.0.1",
7272
"@types/jsdom": "^16.2.14",
7373
"@types/mime": "^2.0.3",
74-
"@types/node": "^12.12.14",
74+
"@types/node": "^16",
7575
"@types/serve-handler": "^6.1.0",
7676
"@types/spark-md5": "^3.0.2",
7777
"aws-sdk": "^2.814.0",

0 commit comments

Comments
 (0)