mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-30 23:06:18 +00:00
Adding github action
This commit is contained in:
parent
4adfb23b44
commit
694fbb288c
20
.github/workflows/ensure-build.yml
vendored
Normal file
20
.github/workflows/ensure-build.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Ensure Site Builds Cleanly
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: 'npm'
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
- run: npm build
|
Loading…
x
Reference in New Issue
Block a user