Skip to content

Commit

Permalink
chore: using stable version of yarn instead of classic (#151)
Browse files Browse the repository at this point in the history
* chore: using stable version of yarn instead of classic

* chore: update workflow

* chore: update workflow

* chore: update workflow

* chore: update workflow

* chore: install inmutable

* chore: changes om prod workflow to have the same as test

* Update .github/workflows/cf-deploy-test.yml

Co-authored-by: Marin Petrunić <[email protected]>

* Update .github/workflows/cf-deploy-prod.yml

Co-authored-by: Marin Petrunić <[email protected]>

* Update .github/workflows/ci.yml

Co-authored-by: Marin Petrunić <[email protected]>

* Update .yarnrc.yml

Co-authored-by: Marin Petrunić <[email protected]>

* chore: ignoring releases folder

* chore: remove release file

* chore: update lock

* chore: small modification to workflow file

* chore: update lock

* chore: update lock file

* chore: update lock file

* chore: update lock file

* chore: update lock file

---------

Co-authored-by: Marin Petrunić <[email protected]>
  • Loading branch information
wainola and mpetrunic authored Apr 3, 2024
1 parent ced1fe3 commit a5d41f3
Show file tree
Hide file tree
Showing 7 changed files with 970 additions and 971 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cf-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: "18"
- run: yarn install --frozen-lockfile
node-version: 18
- run: corepack enable
- run: yarn install --immutable
- run: yarn build
env:
VITE_INDEXER_URL: "https://api.buildwithsygma.com"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/cf-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: "18"
- run: yarn install --frozen-lockfile
node-version: 18
- run: corepack enable
- run: yarn install --immutable
- run: yarn build
env:
VITE_INDEXER_URL: "https://api.test.buildwithsygma.com"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'yarn' # cache node modules
node-version: ${{ matrix.node }}
- run: corepack enable
- run: yarn
- run: yarn install --immutable
- run: yarn run lint
- run: yarn run build
10 changes: 1 addition & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
/.pnp
.pnp.*
.yarn/*
.yarn/releases/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

Expand All @@ -28,14 +28,6 @@ yarn-debug.log*
yarn-error.log*
.env

# yarn NON Zero-install
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# runtime config
public/sygma-runtime-config*
Expand Down
3 changes: 2 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
enableGlobalCache: true

nodeLinker: node-modules
nodeLinker: node-modules

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,10 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"engines": {
"node": ">=18",
"yarn": ">=4"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit a5d41f3

Please sign in to comment.