Skip to content

Run tests from source, intro bbin integration tests (#6) #40

Run tests from source, intro bbin integration tests (#6)

Run tests from source, intro bbin integration tests (#6) #40

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@10.1
with:
bb: latest
cli: latest
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npx shadow-cljs release main
# To be able to deploy your own version you have to choose the
# "GitHub Actions" option in your project settings.
# It may not work if "deploy from a branch" is chosen.
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: 'web/resources/public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1