Skip to content

Fix overflow for long words #344

Fix overflow for long words

Fix overflow for long words #344

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- master
pull_request:
types: [opened, ready_for_review, review_requested]
# Allows the CI to use the secrets to push to ECR when a fork is merged.
# You can see the if statement in the ECR step.
pull_request_target:
types: [closed]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@10.2
with:
cli: latest
- name: Run the clj tests
run: clojure -A:jvm-base:server/test
## Not working as for now, refer to tests.cljs.edn
#- name: Run the cljs tests
# run: clojure -A:jvm-base:client:web/test-headless
- name: Build main.js
run: clojure -T:build js-bundle
- name: Build image and push to ECR
if: github.event.pull_request.merged == true
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
ECR_REPO: ${{ secrets.ECR_REPO }}
run: clojure -T:jib build