Skip to content

Add MapTap daily geography game habit tracking #201

Add MapTap daily geography game habit tracking

Add MapTap daily geography game habit tracking #201

# Runs build and test
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: npm
cache-dependency-path: package-lock.json
- name: Restore Eleventy image cache
uses: actions/cache@v4
with:
path: |
_site/**/*.blurred
_site/**/*-320w.*
_site/**/*-640w.*
_site/**/*-1280w.*
_site/**/*-1920w.*
key: ${{ runner.os }}-11ty-images-${{ hashFiles('img/**/*', 'posts/**/*.{jpg,jpeg,png,gif,webp,svg,avif}', '_includes/**/*', '_11ty/blurry-placeholder.js', '_11ty/img-dim.js', '_11ty/srcset.js', '.eleventy.js') }}
restore-keys: |
${{ runner.os }}-11ty-images-
- run: npm ci --no-audit --no-fund
- run: npm run build-ci