Skip to content

Commit

Permalink
chore: use Node 18 & Yarn v4
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter committed Nov 23, 2023
1 parent 44bfb9a commit d17dc91
Show file tree
Hide file tree
Showing 10 changed files with 8,976 additions and 8,865 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'

- run: npx beachball check --changehint "Run 'yarn change' to generate a change file"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: '16'
node-version: '18'

- run: yarn install --immutable
- run: yarn check-dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: '16'
node-version: '18'

- run: yarn install --immutable
- run: yarn nx run-many --target=build --projects=@griffel/website --parallel --max-parallel=3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: '16'
node-version: '18'

- run: yarn install --immutable
- run: yarn nx run-many --target=build --projects=@griffel/devtools --parallel --max-parallel=3
Expand Down
786 changes: 0 additions & 786 deletions .yarn/releases/yarn-3.2.1.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.2.1.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ extends:
- script: |
echo "##vso[task.setvariable variable=shellopts]braceexpand:hashall:interactive-comments:errexit:errtrace"
displayName: Force exit on error (bash)
- task: NodeTool@0
inputs:
versionSpec: '16.x'
versionSpec: '18.x'
checkLatest: true
displayName: 'Install Node.js'

- script: yarn install --frozen-lockfile
displayName: Install dependencies

- script: |
git config user.name "Fluent UI Build"
git config user.email "[email protected]"
git remote set-url origin https://$(githubUser):$(githubPAT)@github.com/microsoft/griffel.git
displayName: Authenticate git for pushes
- script: |
yarn beachball publish -b origin/main --access public -y -n $(npmToken)
git reset --hard origin/main
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/microsoft/griffel"
},
"packageManager": "yarn@3.1.1",
"packageManager": "yarn@4.0.2",
"nano-staged": {
"**/*.{js,json,ts,tsx}": "prettier --write",
"**/*.{md}": "doctoc -u"
Expand Down
Loading

0 comments on commit d17dc91

Please sign in to comment.