Skip to content

Commit

Permalink
Merge pull request #7 from jdeniau/yarn-berry
Browse files Browse the repository at this point in the history
migrate to yarn berry
  • Loading branch information
jdeniau authored Feb 20, 2024
2 parents 2889c9f + bc5bd35 commit 4ca78d1
Show file tree
Hide file tree
Showing 5 changed files with 8,346 additions and 5,863 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
name: Lint & Tests
on:
push:
branches: [ "main" ]
branches: ['main']
pull_request: ~

jobs:
build:

test:
runs-on: ubuntu-latest

strategy:
Expand All @@ -18,13 +17,14 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn test
- run: corepack enable
- run: yarn install --immutable
- run: yarn lint
- run: yarn test
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,13 @@ typings/
# Electron-Forge
out/

.vscode/
.vscode/

# yarn berry
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@
"ts-node": "^10.0.0",
"typescript": "~4.5.4",
"vitest": "^1.3.0"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 4ca78d1

Please sign in to comment.