Added artifact upload to Github actions test

main
Guus van Meerveld 3 years ago
parent 8fb529d21c
commit c5ca155cbd
Signed by: Guusvanmeerveld
GPG Key ID: 2BA7D7912771966E

@ -21,10 +21,21 @@ jobs:
run: yarn install run: yarn install
- name: Lint - name: Lint
run: yarn lint run: yarn run lint
env: env:
NEXT_TELEMETRY_DISABLED: 1 NEXT_TELEMETRY_DISABLED: 1
- name: Build website
run: yarn run export
with:
NODE_ENV: production
NEXT_TELEMETRY_DISABLED: 1
- uses: actions/upload-artifact@v3
with:
name: output
path: out
pages: pages:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test needs: test

Loading…
Cancel
Save