Skip to content
Permalink
Browse files

add CI

  • Loading branch information
filipesilva committed Dec 7, 2019
1 parent 600558a commit 0c867605259bb985185f9685a7cd56c83b0793e7
Showing with 49 additions and 10 deletions.
  1. +39 −0 .github/workflows/nodejs.yml
  2. +2 −2 package.json
  3. +8 −8 yarn.lock
@@ -0,0 +1,39 @@
name: Node CI

on:
pull_request: ~
push:
branches:
# These are the branches that we want CI to run on direct pushes.
# All other changes should go through PRs.
- master

jobs:
test:
runs-on: ubuntu
steps:
- uses: actions/checkout@v1
- name: Cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: node_modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
node_modules-
- name: Cache maven
uses: actions/cache@v1
with:
path: ~/.m2
key: m2-${{ hashFiles('shadow-cljs.edn') }}
restore-keys: |
m2-
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install
run: yarn
- name: Lint
run: yarn lint
- name: Test
run: yarn test:once
@@ -10,8 +10,8 @@
"clojars": "lein deploy clojars"
},
"devDependencies": {
"clj-kondo": "2019.10.11-alpha.1",
"shadow-cljs": "~2.8.66"
"clj-kondo": "2019.11.23",
"shadow-cljs": "~2.8.81"
},
"dependencies": {}
}
@@ -215,10 +215,10 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
inherits "^2.0.1"
safe-buffer "^5.0.1"

clj-kondo@2019.10.11-alpha.1:
version "2019.10.11-alpha.1"
resolved "https://registry.yarnpkg.com/clj-kondo/-/clj-kondo-2019.10.11-alpha.1.tgz#a34b7ee076ac7469cf5c3e20622e17d345595d7e"
integrity sha512-6doasyUSzwy6YlN+4Ke+cRt6dijmWavRretR51UVM5n8NnimOEzbR3bbNM6mnT1rtZYxwhCU/gfTgajxBWGoiQ==
clj-kondo@2019.11.23:
version "2019.11.23"
resolved "https://registry.yarnpkg.com/clj-kondo/-/clj-kondo-2019.11.23.tgz#c892c593c86090f187694936973991c6a955e7fd"
integrity sha512-M3wiZ3vQn89yVDzkX+S+ZEttivYl8aOSO3mqVhx50aNOXvC5+qY+gVaPvS9tVXIGSyWg3FQzYIjbtE0c/Nho8w==
dependencies:
binwrap "^0.2.2"
request "^2.88.0"
@@ -868,10 +868,10 @@ shadow-cljs-jar@1.3.1:
resolved "https://registry.yarnpkg.com/shadow-cljs-jar/-/shadow-cljs-jar-1.3.1.tgz#a5f8ab7664b40e11345837e4c6bce8e0ac9b2cc3"
integrity sha512-IJSm4Gfu/wWDsOQ0wNrSxuaGdjzsd78us+3bop3cpWsoO2Igdu6VIBItYrZHRRBKl5LIZKXfnSh/2eWG3C1EFw==

shadow-cljs@~2.8.66:
version "2.8.69"
resolved "https://registry.yarnpkg.com/shadow-cljs/-/shadow-cljs-2.8.69.tgz#a646926ce0ba2b0b0f1086925a1048fdd69ebb08"
integrity sha512-lLAJ1uscKNmm+VBwZXM+YYHx9N/YzcKicqFtuVMID//AnOi8zlzEPwFjUjGWvzxZqrh6GLxzcAr18DR87Vo2tQ==
shadow-cljs@~2.8.80:
version "2.8.81"
resolved "https://registry.yarnpkg.com/shadow-cljs/-/shadow-cljs-2.8.81.tgz#d4f28313ef3d0023a9d7b9a0891ee0e124f0cfb8"
integrity sha512-ux+S7yB2isXxna8/BHRkkp80C6fXPwVrKnDd0SfTbLgjUE9TMjqHCgsO0jLejw/cjjAzAvyG4uVLyK60NxIwEg==
dependencies:
mkdirp "^0.5.1"
node-libs-browser "^2.0.0"

0 comments on commit 0c86760

Please sign in to comment.
You can’t perform that action at this time.