-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
176 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,13 @@ description: Install dependencies | |
runs: | ||
using: 'composite' | ||
steps: | ||
- name: 💾 Cache node modules | ||
- name: 🥸 Configure Git User | ||
shell: bash | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "nordcombot" | ||
- name: 💾 Cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
|
@@ -22,6 +28,7 @@ runs: | |
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: canary | ||
no-cache: true | ||
|
||
- name: 📦 Install dependencies | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,6 @@ name: CI | |
|
||
on: [push, pull_request] | ||
|
||
env: | ||
CI: true | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | ||
|
||
jobs: | ||
build: | ||
name: 🔨 Build | ||
|
@@ -21,7 +16,7 @@ jobs: | |
uses: ./.github/common/install | ||
|
||
- name: 🔨 Build Everything | ||
run: bun run build:packages | ||
run: bun run --bun build:packages | ||
|
||
test: | ||
name: 🧪 Test | ||
|
@@ -36,10 +31,10 @@ jobs: | |
uses: ./.github/common/install | ||
|
||
- name: 🔨 Build Packages | ||
run: bun run build:packages | ||
run: bun run --bun build:packages | ||
|
||
- name: 🧪 Test | ||
run: bun run test | ||
run: bun run --bun test | ||
|
||
- name: 🦺 Report Coverage to GitHub | ||
uses: davelosert/[email protected] | ||
|
@@ -61,10 +56,10 @@ jobs: | |
uses: ./.github/common/install | ||
|
||
- name: 🔨 Build Packages | ||
run: bun run build:packages | ||
run: bun run --bun build:packages | ||
|
||
- name: 📋 Lint | ||
run: bun run lint | ||
run: bun run --bun lint | ||
|
||
typecheck: | ||
name: ✅ Typecheck | ||
|
@@ -78,7 +73,7 @@ jobs: | |
uses: ./.github/common/install | ||
|
||
- name: 🔨 Build Packages | ||
run: bun run build:packages | ||
run: bun run --bun build:packages | ||
|
||
- name: ✅ Typecheck | ||
run: bun run typecheck | ||
run: bun run --bun typecheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,6 @@ concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
env: | ||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.MACHINE_USER }} | ||
|
@@ -30,12 +28,7 @@ jobs: | |
uses: ./.github/common/install | ||
|
||
- name: 🔨 Build | ||
run: bun run build:packages | ||
|
||
- name: 🥸 Configure Identity | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "nordcombot" | ||
run: bun run --bun build:packages | ||
|
||
- name: 🤝 Create Release Pull Request or Publish to NPM | ||
id: changesets | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
bunx lint-staged --allow-empty | ||
bunx --bun lint-staged --allow-empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ | |
"Filiph", | ||
"lockb", | ||
"Nordcom", | ||
"nordcombot", | ||
"nordstar", | ||
"postbuild", | ||
"postpack", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.