Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Use new setup-toolchain action. #52

Merged
merged 7 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@ jobs:
node-version: [16, 18, 20]
fail-fast: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: moonrepo/setup-toolchain@v0
with:
cache: yarn
node-version: ${{ matrix.node-version }}
auto-install: true
- uses: moonrepo/tool-version-action@v1
with:
node: ${{ matrix.node-version }}
- run: yarn install --immutable
- run: yarn setup
- run: yarn moon ci --log debug
- run: moon ci --log debug --color
env:
MOONBASE_SECRET_KEY: ${{ secrets.MOONBASE_SECRET_KEY }}
MOONBASE_ACCESS_KEY: ${{ secrets.MOONBASE_ACCESS_KEY }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ jobs:
name: Conventional title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
cache: yarn
- uses: beemojs/conventional-pr-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"devDependencies": {
"@babel/core": "^7.23.0",
"@moonrepo/cli": "^1.14.0",
"@moonrepo/cli": "^1.14.2",
"@moonrepo/dev": "workspace:*",
"eslint": "^8.50.0",
"jest": "^29.7.0",
Expand Down
68 changes: 34 additions & 34 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2423,17 +2423,17 @@ __metadata:
languageName: node
linkType: hard

"@moonrepo/cli@npm:^1.14.0":
version: 1.14.0
resolution: "@moonrepo/cli@npm:1.14.0"
dependencies:
"@moonrepo/core-linux-arm64-gnu": ^1.14.0
"@moonrepo/core-linux-arm64-musl": ^1.14.0
"@moonrepo/core-linux-x64-gnu": ^1.14.0
"@moonrepo/core-linux-x64-musl": ^1.14.0
"@moonrepo/core-macos-arm64": ^1.14.0
"@moonrepo/core-macos-x64": ^1.14.0
"@moonrepo/core-windows-x64-msvc": ^1.14.0
"@moonrepo/cli@npm:^1.14.2":
version: 1.14.2
resolution: "@moonrepo/cli@npm:1.14.2"
dependencies:
"@moonrepo/core-linux-arm64-gnu": ^1.14.2
"@moonrepo/core-linux-arm64-musl": ^1.14.2
"@moonrepo/core-linux-x64-gnu": ^1.14.2
"@moonrepo/core-linux-x64-musl": ^1.14.2
"@moonrepo/core-macos-arm64": ^1.14.2
"@moonrepo/core-macos-x64": ^1.14.2
"@moonrepo/core-windows-x64-msvc": ^1.14.2
detect-libc: ^2.0.2
dependenciesMeta:
"@moonrepo/core-linux-arm64-gnu":
Expand All @@ -2452,55 +2452,55 @@ __metadata:
optional: true
bin:
moon: moon
checksum: d116b6859cb9022878457c70af8850bc19f17db2d24f3f7e655b9999c6f3e3652782687b0ee277f870a000db1204fdefd013b367c55690b13c5d6b9906f142ca
checksum: 37b1bf2c7644b6bbb2696d4627215d2c4078d16f4135cc5b19cc3f6922a83fc4e3cce667e77437a6f669af3e342b650da0381b1cf7dd740c9cea138b8a7ca44e
languageName: node
linkType: hard

"@moonrepo/core-linux-arm64-gnu@npm:^1.14.0":
version: 1.14.0
resolution: "@moonrepo/core-linux-arm64-gnu@npm:1.14.0"
"@moonrepo/core-linux-arm64-gnu@npm:^1.14.2":
version: 1.14.2
resolution: "@moonrepo/core-linux-arm64-gnu@npm:1.14.2"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@moonrepo/core-linux-arm64-musl@npm:^1.14.0":
version: 1.14.0
resolution: "@moonrepo/core-linux-arm64-musl@npm:1.14.0"
"@moonrepo/core-linux-arm64-musl@npm:^1.14.2":
version: 1.14.2
resolution: "@moonrepo/core-linux-arm64-musl@npm:1.14.2"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@moonrepo/core-linux-x64-gnu@npm:^1.14.0":
version: 1.14.0
resolution: "@moonrepo/core-linux-x64-gnu@npm:1.14.0"
"@moonrepo/core-linux-x64-gnu@npm:^1.14.2":
version: 1.14.2
resolution: "@moonrepo/core-linux-x64-gnu@npm:1.14.2"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@moonrepo/core-linux-x64-musl@npm:^1.14.0":
version: 1.14.0
resolution: "@moonrepo/core-linux-x64-musl@npm:1.14.0"
"@moonrepo/core-linux-x64-musl@npm:^1.14.2":
version: 1.14.2
resolution: "@moonrepo/core-linux-x64-musl@npm:1.14.2"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@moonrepo/core-macos-arm64@npm:^1.14.0":
version: 1.14.0
resolution: "@moonrepo/core-macos-arm64@npm:1.14.0"
"@moonrepo/core-macos-arm64@npm:^1.14.2":
version: 1.14.2
resolution: "@moonrepo/core-macos-arm64@npm:1.14.2"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@moonrepo/core-macos-x64@npm:^1.14.0":
version: 1.14.0
resolution: "@moonrepo/core-macos-x64@npm:1.14.0"
"@moonrepo/core-macos-x64@npm:^1.14.2":
version: 1.14.2
resolution: "@moonrepo/core-macos-x64@npm:1.14.2"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@moonrepo/core-windows-x64-msvc@npm:^1.14.0":
version: 1.14.0
resolution: "@moonrepo/core-windows-x64-msvc@npm:1.14.0"
"@moonrepo/core-windows-x64-msvc@npm:^1.14.2":
version: 1.14.2
resolution: "@moonrepo/core-windows-x64-msvc@npm:1.14.2"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -9649,7 +9649,7 @@ __metadata:
resolution: "moon-dev@workspace:."
dependencies:
"@babel/core": ^7.23.0
"@moonrepo/cli": ^1.14.0
"@moonrepo/cli": ^1.14.2
"@moonrepo/dev": "workspace:*"
eslint: ^8.50.0
jest: ^29.7.0
Expand Down