Move node path to start of dev build runner
Some checks failed
Build Dev PWA / Build-PWA (push) Failing after 1s

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-05-02 20:58:49 -07:00
parent 1ab35bf015
commit 7d619a6d63

View File

@@ -6,12 +6,12 @@ jobs:
Build-PWA: Build-PWA:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Set Node location
run: export PATH=/home/act_runner/.n/bin:$PATH
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install node modules - name: Install node modules
run: | run: npm install
export PATH=/home/act_runner/.n/bin:$PATH
npm install
- name: Build pwa - name: Build pwa
run: npm run build run: npm run build
- name: Clear previous dev pwa - name: Clear previous dev pwa