Skip to content

Commit

Permalink
💚update npm config strict-ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
kotodu committed Mar 9, 2024
1 parent 9a1e71f commit 69e88fc
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions .github/workflows/ActionDeploy.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
name: ActionDeploy
on :
on:
push:
branches:
- master
jobs:
deployPages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '20.x'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '20.x'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install
# - run: npm run test:unit
# - run: npm run test:e2e
- run: npm run build

- name: Deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
- run: npm config set strict-ssl false
- run: npm install
- run: npm run build

- name: Deploy
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

0 comments on commit 69e88fc

Please sign in to comment.