mirror of
https://github.com/logseq/logseq.git
synced 2026-05-16 17:02:34 +00:00
Merge remote-tracking branch 'origin/master' into feat/cliable
This commit is contained in:
42
.github/workflows/deps-publish.yml
vendored
42
.github/workflows/deps-publish.yml
vendored
@@ -36,7 +36,45 @@ env:
|
||||
BABASHKA_VERSION: '1.12.215'
|
||||
|
||||
jobs:
|
||||
test-release:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10.33.0
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: 'pnpm'
|
||||
cache-dependency-path: deps/publish/pnpm-lock.yaml
|
||||
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
|
||||
# Clojure needed for test build step
|
||||
- name: Set up Clojure
|
||||
uses: DeLaGuardo/setup-clojure@13.5
|
||||
with:
|
||||
cli: ${{ env.CLOJURE_VERSION }}
|
||||
bb: ${{ env.BABASHKA_VERSION }}
|
||||
|
||||
- name: Fetch pnpm deps
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run publish unit tests
|
||||
run: pnpm test
|
||||
|
||||
build-release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -94,7 +132,7 @@ jobs:
|
||||
bb: ${{ env.BABASHKA_VERSION }}
|
||||
|
||||
- name: Run clj-kondo lint
|
||||
run: clojure -M:clj-kondo --lint src
|
||||
run: clojure -M:clj-kondo --lint src test
|
||||
|
||||
- name: Carve lint for unused vars
|
||||
run: bb lint:carve
|
||||
|
||||
Reference in New Issue
Block a user