mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-09-13 19:15:43 -05:00
Merge pull request #72 from misenhower/build-frontend-action
Add action for building the frontend
This commit is contained in:
27
.github/workflows/build-frontend.yml
vendored
Normal file
27
.github/workflows/build-frontend.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Build frontend
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
Reference in New Issue
Block a user