Skip to content

Commit

Permalink
Upgrade to yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
wpears committed Jun 25, 2024
1 parent 0026a76 commit 87c67de
Show file tree
Hide file tree
Showing 2,236 changed files with 150,131 additions and 8,631 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
node-version: '20.x'

- name: Install dependencies
run: yarn
run: yarn install --immutable --immutable-cache

- name: Build frontend
run: yarn run build
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,22 @@ on:
jobs:
frontend:
runs-on: ubuntu-latest
env:
YARN_ENABLE_NETWORK: 'false'

steps:
- uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: Install dependencies
run: yarn
run: yarn install --immutable --immutable-cache

- name: Test Javascript
run: yarn run test
3 changes: 3 additions & 0 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Set up Node
uses: actions/setup-node@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ cfgov/static_built/*
!cfgov/agreements/tests/UTF_agreements.zip
!cfgov/legacy/static/foia/quarterly/*.zip
!cfgov/paying_for_college/data_sources/ipeds/test.txt.zip
!npm-packages-offline-cache/*.zip

# Desired minified CSS #
########################
Expand Down
21,142 changes: 21,142 additions & 0 deletions .pnp.cjs

Large diffs are not rendered by default.

Loading

0 comments on commit 87c67de

Please sign in to comment.