Skip to content

Added newsletter 45: "#45: Waffle Shoes, OpenCola, AI Murder Mystery,… #381

Added newsletter 45: "#45: Waffle Shoes, OpenCola, AI Murder Mystery,…

Added newsletter 45: "#45: Waffle Shoes, OpenCola, AI Murder Mystery,… #381

name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '15.x'
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
# Build Eleventy site
- name: Eleventy build
run: npm run build
# Notify on Slack!
- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()