Skip to content

Commit

Permalink
ci: env in the build block
Browse files Browse the repository at this point in the history
  • Loading branch information
marabesi committed Sep 23, 2023
1 parent 59d5010 commit 789e740
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ jobs:
echo ">>> Started xvfb"
- name: install
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm install --legacy-peer-deps

- name: test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
cache: 'npm'

- name: install
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm install --legacy-peer-deps

- name: lint
run: npm run lint

- name: build
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run build

- name: package
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
cache: 'npm'

- name: Install
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm install --legacy-peer-deps

- name: Build 🔧
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run build

- name: Deploy 🚀
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
echo ">>> Started xvfb"
- name: install
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm install --legacy-peer-deps

- name: build
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run build

- name: test
Expand Down

0 comments on commit 789e740

Please sign in to comment.