forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 835 Bytes
/
cljs.yml
File metadata and controls
36 lines (33 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CLJS
on:
push:
branches:
- 'master'
- 'release-**'
pull_request:
jobs:
shared-tests-cljs:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Prepare Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
cache: 'yarn'
- name: Get M2 cache
uses: actions/cache@v2
with:
path: |
~/.m2
~/.gitlibs
key: ${{ runner.os }}-cljs-${{ hashFiles('**/deps.edn') }}
- name: Get node_modules cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn install --frozen-lockfile --prefer-offline
- name: Run Cljs tests for shared/ code
run: yarn run test-cljs