File tree Expand file tree Collapse file tree 11 files changed +4948
-4613
lines changed
Expand file tree Collapse file tree 11 files changed +4948
-4613
lines changed Original file line number Diff line number Diff line change 5151
5252 test-javascript :
5353 name : Test JavaScript
54- uses : alphagov/govuk-infrastructure/.github/workflows/jasmine.yml@main
54+ uses : alphagov/govuk-infrastructure/.github/workflows/jasmine.yml@corepack
5555 with :
5656 useWithRails : true
5757
Original file line number Diff line number Diff line change 2929 bundler-cache : true
3030
3131 - name : Setup Node
32- uses : alphagov/govuk-infrastructure/.github/actions/setup-node@main
32+ uses : alphagov/govuk-infrastructure/.github/actions/setup-node@corepack
3333
3434 - name : Cache Playwright Chromium browser
3535 id : playwright-cache
Original file line number Diff line number Diff line change 1111 uses : actions/checkout@v5
1212
1313 - name : Setup Node
14- uses : alphagov/govuk-infrastructure/.github/actions/setup-node@main
14+ uses : alphagov/govuk-infrastructure/.github/actions/setup-node@corepack
1515
1616 - name : Run lint:js
1717 run : yarn run lint:js
Original file line number Diff line number Diff line change 1111 uses : actions/checkout@v5
1212
1313 - name : Setup Node
14- uses : alphagov/govuk-infrastructure/.github/actions/setup-node@main
14+ uses : alphagov/govuk-infrastructure/.github/actions/setup-node@corepack
1515
1616 - name : Run lint:prettier
1717 run : yarn run lint:prettier
Original file line number Diff line number Diff line change 1111 uses : actions/checkout@v5
1212
1313 - name : Setup Node
14- uses : alphagov/govuk-infrastructure/.github/actions/setup-node@main
14+ uses : alphagov/govuk-infrastructure/.github/actions/setup-node@corepack
1515
1616 - name : Run lint:scss
1717 run : yarn run lint:scss
Original file line number Diff line number Diff line change 5050 bundler-cache : true
5151
5252 - name : Setup Node
53- uses : alphagov/govuk-infrastructure/.github/actions/setup-node@main
53+ uses : alphagov/govuk-infrastructure/.github/actions/setup-node@corepack
5454
5555 - name : Precompile assets
5656 uses : alphagov/govuk-infrastructure/.github/actions/precompile-rails-assets@main
Original file line number Diff line number Diff line change 2828/failures
2929/node_modules
3030/yarn-error.log
31+ .yarn /
32+ .pnp. *
3133.cache /
3234.DS_Store
3335/app /assets /builds /*
Original file line number Diff line number Diff line change 1+ nodeLinker : node-modules
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ ENV JWT_AUTH_SECRET=unused_yet_required
1010WORKDIR $APP_HOME
1111COPY Gemfile* .ruby-version ./
1212RUN bundle install
13- COPY package.json yarn.lock ./
14- RUN yarn install --production --frozen-lockfile --non-interactive --link-duplicates
13+ COPY package.json yarn.lock ./
14+ RUN corepack enable
15+ RUN yarn install --immutable
1516COPY . .
1617RUN bootsnap precompile --gemfile .
1718RUN rails assets:precompile && rm -fr log
Original file line number Diff line number Diff line change 44 "private" : true ,
55 "author" : " Government Digital Service" ,
66 "license" : " MIT" ,
7+ "packageManager" :
" [email protected] " ,
78 "scripts" : {
89 "lint" : " yarn run lint:js && yarn run lint:scss && yarn run lint:prettier" ,
910 "lint:js" : " eslint --cache --cache-location .cache/eslint --color --ignore-path .gitignore -- \" **/*.js\" " ,
You can’t perform that action at this time.
0 commit comments