Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated deploy yaml #2

Merged
merged 3 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
run: rm -rf pwa/node_modules && rm -rf pwa/.cache && rm -rf pwa/public

- name: Parcel/watcher
run: npm i @parcel/watcher
run: npm i @parcel/watcher --legacy-peer-deps

- name: Install dependencies
run: cd pwa && npm i
run: cd pwa && npm i --legacy-peer-deps

- name: Build
run: cd pwa && npm run build
4 changes: 2 additions & 2 deletions .github/workflows/scanner-page-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
node-version: 18

- name: Install dependencies
run: cd pwa && npm install
run: cd pwa && npm install --legacy-peer-deps

- name: Install parcel/watcher
run: cd pwa && npm install @parcel/watcher
run: cd pwa && npm install @parcel/watcher --legacy-peer-deps

- name: Remove old Gatsby cache
run: rm -rf pwa/.cache
Expand Down
4 changes: 2 additions & 2 deletions pwa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ COPY package.json package-lock.json ./

# Copy all files from current directory to working dir in image
# install node modules and build assets
RUN npm install
RUN npm install --legacy-peer-deps

RUN npm install @parcel/watcher
RUN npm install @parcel/watcher --legacy-peer-deps

COPY . .

Expand Down
Loading