29 lines
No EOL
611 B
YAML
29 lines
No EOL
611 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/library/node:24-alpine
|
|
steps:
|
|
- name: Install Git
|
|
run: apk add --no-cache git
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: npm i --include=dev
|
|
|
|
- name: Populate the .env file
|
|
run: echo PUBLIC_TS_DISCORD=${{ env.PUBLIC_TS_DISCORD }} >> .env
|
|
|
|
- name: Build frontend
|
|
run: npm run build
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: website
|
|
path: build/ |