update workflow

This commit is contained in:
tree🌴 2024-02-12 11:28:55 +01:00
parent 8582b67202
commit bc4fe3d048

View file

@ -29,7 +29,7 @@ jobs:
deno-version: v1.x deno-version: v1.x
- name: Build bundle - name: Build bundle
run: make run: make build
- name: Setup node - name: Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
@ -37,11 +37,11 @@ jobs:
cache: npm cache: npm
cache-dependency-path: ./web/package-lock.json cache-dependency-path: ./web/package-lock.json
- name: Web install - name: Build frontend
run: "cd web && npm install" run: make frontend
- name: Web build - name: Compile all together
run: "cd web && npm run build" run: make compile
- name: Upload Pages Artifact - name: Upload Pages Artifact
# Must use v2 to avoid requiring `actions/deploy-pages@v4` or newer # Must use v2 to avoid requiring `actions/deploy-pages@v4` or newer