Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
coddingyun authored Oct 6, 2023
1 parent 425c57b commit 357da99
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,25 @@ jobs:
# run: |
# echo "VITE_REACT_APP_AWS_SERVER=${{ secrets.VITE_REACT_APP_AWS_SERVER }}" >> $GITHUB_ENV

- name: npm install, build
run: |
npm i
npm run build
# - name: npm install, build
# run: |
# npm i
# npm run build
# env:
# NODE_OPTIONS: --openssl-legacy-provider

- name: Install Node modules
if: steps.node-cache.outputs.cache-hit != 'true'
run: npm ci
# Currently necessary for Webpack
env:
NODE_OPTIONS: --openssl-legacy-provider

- name: Build reader
run: npm run build
# Currently necessary for Webpack
env:
NODE_OPTIONS: --openssl-legacy-provider
NODE_OPTIONS: --openssl-legacy-provider

- name: Deploy
uses: reggionick/s3-deploy@v3
Expand Down

0 comments on commit 357da99

Please sign in to comment.