Skip to content

adjust explanation to include oscillating radial dists #490

adjust explanation to include oscillating radial dists

adjust explanation to include oscillating radial dists #490

name: Continuous Deployment
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache deps.edn dependencies
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: clj-${{ runner.os }}-${{ hashFiles('**/deps.edn') }}
restore-keys: clj-${{ runner.os }}-
- name: Setup Java 11
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
cli: latest
bb: latest
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Lint
run: bin/lint
- name: Test
run: bin/kaocha unit-cljc
publish:
name: Publish
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache deps.edn dependencies
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: clj-${{ runner.os }}-${{ hashFiles('**/deps.edn') }}
restore-keys: clj-${{ runner.os }}-
- name: Setup Java 11
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
cli: latest
bb: latest
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Build
run: bb build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'static-site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1