1
mirror of https://github.com/jakejarvis/netlify-plugin-cache.git synced 2025-10-28 06:35:50 -04:00

simple GitHub Action to build example site with plugin (locally from source)

This commit is contained in:
2020-06-06 16:11:11 -04:00
parent 59541f2041
commit 9f339401ad
3 changed files with 24 additions and 1 deletions

17
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12'
- run: npm install -g netlify-cli
- run: netlify build
env:
NETLIFY_SITE_ID: '8ceb6251-650b-481a-976c-fec1a4f95800'
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}