Skip to content

Commit

Permalink
Add yarn install action
Browse files Browse the repository at this point in the history
  • Loading branch information
n2o committed Oct 29, 2024
1 parent 27a02e5 commit 644d425
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: "temurin"
Expand All @@ -21,7 +21,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: DeLaGuardo/clojure-lint-action@master
continue-on-error: true
with:
Expand All @@ -46,11 +46,16 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "20"
cache: "yarn"

- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install

- name: Build Project
run: yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: resources/public # The folder the action should deploy.
folder: resources/public # The folder the action should deploy.

0 comments on commit 644d425

Please sign in to comment.