Skip to content

Commit

Permalink
ci: updating github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
GarthDB committed Mar 7, 2024
1 parent a04dbd3 commit 9d357fe
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: moonrepo/setup-moon-action@v1
- uses: moonrepo/setup-toolchain@v0
with:
auto-install: true
- run: moon ci
- uses: "moonrepo/run-report-action@v1"
- uses: moonrepo/run-report-action@v1
if: success() || failure()
with:
access-token: ${{ secrets.GH_TOKEN }}
8 changes: 3 additions & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: moonrepo/setup-toolchain@v0
with:
version: 8.15.1
- uses: moonrepo/setup-moon-action@v1
auto-install: true
- run: moon setup
- run: moon run site:export
- run: moon run visualizer:build
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: moonrepo/setup-toolchain@v0
with:
version: 8.15.1
- uses: moonrepo/setup-moon-action@v1
auto-install: true
- run: moon setup
- run: moon run :build --query "projectSource~packages/*"
- name: Publish
Expand Down
2 changes: 1 addition & 1 deletion .moon/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rust: {}
node:
# The version to use. Must be a semantic version that includes major, minor, and patch.
# We suggest using the latest active LTS version: https://nodejs.org/en/about/releases
version: "18.13.0"
version: "20.11"

# The package manager to use when managing dependencies.
# Accepts "npm" (default), "pnpm", or "yarn".
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"prettier": "^3.2.4"
},
"engines": {
"node": "18.13.0"
"node": "~20.11"
},
"packageManager": "pnpm@8.15.1"
}

0 comments on commit 9d357fe

Please sign in to comment.