Skip to content

Commit

Permalink
Attempt to fix GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
niconoe committed Apr 5, 2023
1 parent 0976e93 commit 93f8e0e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1

- name: Install 🔧
run: |
npm install --force
- name: Run unit tests
run: npm run test:unit
- name: Install and run unit tests 🔧
uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install --force
- run: npm run test:unit

deploy-gh-pages:
needs: run-unit-tests
Expand All @@ -33,6 +33,9 @@ jobs:
FILE_DATA: 'URL_PREFIX = "/crow/"'

- name: Install and build 🔧
uses: actions/setup-node@v3
with:
node-version: 16
run: |
npm install --force
npm run build
Expand Down

0 comments on commit 93f8e0e

Please sign in to comment.