-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #66: install specific version of npm inside gh pages deployment
- Loading branch information
1 parent
d76c462
commit 0b813af
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,11 @@ jobs: | |
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
npm-version: '9.8.1' | ||
|
||
- name: Install specific NPM version | ||
run: | | ||
npm install -g [email protected] | ||
npm --version | ||
- name: Install Dependencies | ||
run: npm install | ||
|
@@ -29,7 +33,7 @@ jobs: | |
env: | ||
REACT_APP_BACKEND_URL: ${{ secrets.REACT_APP_BACKEND_URL }} | ||
|
||
- name: Deploy to GitHub Pages | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|