Skip to content

Commit

Permalink
Merge pull request #105 from paulogoncalvs/renovate/major-yarn-monorepo
Browse files Browse the repository at this point in the history
Update Yarn to v4
  • Loading branch information
paulogoncalvs committed Oct 27, 2023
2 parents 7ead583 + d452f7e commit e0a2048
Show file tree
Hide file tree
Showing 6 changed files with 5,309 additions and 5,294 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Node.js 16.x
- name: Set Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '18.x'
cache: 'yarn'
- name: Dump UID & GID
run: |
echo User ID [UID]: $(id -u)
echo Group ID [GID]: $(id -g)
- name: Install Dependencies
run: yarn install --immutable
- name: Check Build
run: |
cp .env.dist .env.production
yarn build
- name: Code Analysis
- name: Run Code Analysis
run: |
yarn prettify
yarn lint
- name: Jest Tests
- name: Run Tests - Jest
run: yarn tests:jest
- name: Playwright Tests
- name: Runu Tests - Playwright
run: |
yarn tests:pw:build
yarn tests:pw:run
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.4.cjs

This file was deleted.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: '@yarnpkg/plugin-typescript'

yarnPath: .yarn/releases/yarn-3.6.4.cjs
yarnPath: .yarn/releases/yarn-4.0.0.cjs
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@paulogoncalvs/pg-web",
"description": "Paulo Gonçalves Website",
"version": "1.1.0",
"version": "1.2.0",
"keywords": [
"preact",
"webpack",
Expand Down Expand Up @@ -107,9 +107,9 @@
"fsevents": "^2.3.2"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"packageManager": "yarn@3.6.4",
"packageManager": "yarn@4.0.0",
"scripts": {
"prebuild": "rm -rf ./dist && ts-node ./src/scripts/generateSitemap.ts",
"build": "yarn prebuild && NODE_ENV=production yarn webpack --config webpack/webpack.prod.js",
Expand Down

0 comments on commit e0a2048

Please sign in to comment.