Skip to content

Commit

Permalink
streamlined install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Dec 12, 2024
1 parent 8c452dd commit 902f9d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/actions/setup-all/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,4 @@ runs:
shell: bash
run: |
git config --global url."https://github.com/".insteadOf ssh://[email protected]/
npm install --prefix assets --package-lock-only
npm run install:ci
npm run assets:install:ci
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
priv
react_renderer/dist/app.js
key: ci-application-cache-${{ github.sha }}
- run: npm install --prefix assets -S -install-links deps/mbta_metro/priv/
- run: npm run assets:install:ci
- run: npm --prefix assets run webpack:build
- run: npm --prefix assets run webpack:build:react
- run: mix compile --all-warnings
Expand Down
4 changes: 1 addition & 3 deletions deploy/dotcom/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ ADD ./assets /root/assets

WORKDIR /root/assets

RUN npm install --package-lock-only
RUN npm ci --ignore-scripts
RUN npm install -S -install-links ../deps/mbta_metro/priv/
RUN npm run install:ci

# required so that Tailwind styles used in Elixir templates are built
COPY ./lib/dotcom_web/ /root/lib/dotcom_web
Expand Down

0 comments on commit 902f9d2

Please sign in to comment.