Skip to content

Commit

Permalink
Upgrade to Yarn 3 (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
lavelle authored Jun 13, 2022
1 parent 83f28fb commit 4e431d6
Show file tree
Hide file tree
Showing 9 changed files with 31,472 additions and 215,383 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: |
yarn install --frozen-lockfile
yarn install --immutable
- name: Run Jest
run: |
yarn run bootstrap && yarn run test
Expand All @@ -43,7 +43,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: |
yarn install --frozen-lockfile
yarn install --immutable
- name: Run ESLint
run: |
yarn run bootstrap && yarn run lint:js
Expand All @@ -65,7 +65,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: |
yarn install --frozen-lockfile
yarn install --immutable
- name: Run Stylelint
run: |
yarn run lint:css
Expand All @@ -87,7 +87,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: |
yarn install --frozen-lockfile
yarn install --immutable
- name: Run Prettier
run: |
yarn run prettier-check
Expand All @@ -109,7 +109,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: |
yarn install --frozen-lockfile
yarn install --immutable
- name: Run TypeScript
run: |
yarn run typecheck
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,16 @@ jspm_packages/
# Yarn Integrity file
.yarn-integrity

# Yarn 2 without Zero-Installs
# https://next.yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*

# dotenv environment variables file
.env

Expand Down
Loading

0 comments on commit 4e431d6

Please sign in to comment.