mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 01:06:09 +00:00
25 lines
554 B
YAML
25 lines
554 B
YAML
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- "*"
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version: "20"
|
||
|
- name: Install dependencies
|
||
|
run: npm ci
|
||
|
- name: Build
|
||
|
run: npm run build
|
||
|
env:
|
||
|
NODE_ENV: production
|
||
|
- name: Upload Artifact
|
||
|
uses: actions/upload-artifact@v4
|
||
|
with:
|
||
|
name: '${{ github.event.repository.name }}-${{ github.ref_name }}-${{ github.sha }}'
|
||
|
path: dist
|