Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to yarn 3 #371

Open
wants to merge 5 commits into
base: staging
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
version: nightly
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: 'yarn'
- uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: 'yarn'
- run: yarn install
- run: npm install -g @graphprotocol/graph-cli
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci_staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
version: nightly
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: 'yarn'
- uses: actions/setup-python@v4
with:
python-version: 'pypy3.9'
- name: Frozen lock
run: yarn install --frozen-lockfile # optional, --immutable
- name: Yarn install
run: yarn install
- run: npm install -g @graphprotocol/graph-cli
- name: Install poetry
run: pip install poetry
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: 'yarn'
- run: npm install -g @graphprotocol/graph-cli
- uses: actions/cache@v3
Expand Down Expand Up @@ -163,15 +163,15 @@ jobs:
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: 'yarn'
- uses: actions/cache@v3
id: restore-build
with:
path: ./*
key: ${{ github.sha }}
- name: Frozen lock
run: yarn install --frozen-lockfile # optional, --immutable
- name: Yarn install
run: yarn install
- name: Cypress install
run: ./node_modules/cypress/bin/cypress install
- name: Create env file
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ Thumbs.db
# Testing
/cypress

.yarn/*
!.yarn/releases
!.yarn/plugins
.pnp.*
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: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"vite-plugin-eslint": "1.3.0"
},
"volta": {
"node": "16.19.0",
"yarn": "1.22.19"
"node": "18.13.0",
"yarn": "3.3.1"
}
}
Loading