Skip to content

Commit

Permalink
chore: update yarn to use v4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kmye committed Dec 5, 2024
1 parent 7c2dea6 commit 31b1511
Show file tree
Hide file tree
Showing 5 changed files with 2,743 additions and 2,027 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-node@v2
- name: Enable Corepack
run: corepack enable

- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20.x'
cache: 'yarn'

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- uses: c-hive/gha-yarn-cache@v1
- name: Yarn
run: cd ExampleProject && yarn install
uses: borales/actions-yarn@v4
with:
cmd: install:example-project

- name: Cache Gradle Wrapper
uses: actions/cache@v2
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,13 @@ buck-out/

# Bundle artifact
*.jsbundle

# Yarn files

# Ignore yarn files.
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.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
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@
"url": "git+ssh://[email protected]/GantMan/jail-monkey.git"
},
"scripts": {
"install:example-project": "cd ExampleProject && yarn install",
"shipit": "np",
"test": "echo Not yet",
"flow-check": "npx flow check-contents < jailmonkey.js.flow",
"ts-check": "npx tsc jailmonkey.d.ts --noEmit"
},
"typings": "./jailmonkey.d.ts",
"version": "2.8.1"
"version": "2.8.1",
"packageManager": "[email protected]+sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d"
}
Loading

0 comments on commit 31b1511

Please sign in to comment.