Skip to content

Commit

Permalink
try fix react gha build
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed Dec 2, 2023
1 parent ef73766 commit 951595e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,16 @@ jobs:
with:
node-version: ${{ matrix.node-version }}


- name: Install Dependencies
run: npm install

- name: React build
run: |
cd src
npm install -f
cd ..
npm run build
# - name: Perform a type check
# run: npm run check:ts
# env:
Expand Down Expand Up @@ -132,6 +138,13 @@ jobs:
- name: Install Dependencies
run: npm install

- name: React build
run: |
cd src
npm install -f
cd ..
npm run build
- name: Publish package to npm
run: |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 951595e

Please sign in to comment.