Skip to content

Commit 942a37c

Browse files
committed
feat: add mjs files to biome
1 parent 325f086 commit 942a37c

3 files changed

Lines changed: 8 additions & 25 deletions

File tree

.github/workflows/on-push.yaml

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121

2222
jobs:
23-
main:
23+
push:
24+
name: 🔖 Release packages
2425
runs-on: ubuntu-latest
2526
steps:
2627
- name: 🦖 Cancel Previous Runs
@@ -33,34 +34,14 @@ jobs:
3334

3435
- name: 🏃 Run Node and NPM setup
3536
uses: ./.github/actions/setup-project
36-
# - name: Checkout the main branch
37-
# uses: actions/checkout@v4
38-
# # Only a single commit is fetched by default
39-
# # we need full repo history with tags, so we are setting fetch-depth: 0
40-
# with:
41-
# fetch-depth: 0
42-
# # We need to pass Personal Access Token in order
43-
# # to force triggering on-publish workflow
44-
# token: ${{ secrets.PAT }}
45-
46-
# - name: Setup node
47-
# uses: actions/setup-node@v3
48-
# with:
49-
# node-version: 20
50-
# cache: 'npm'
51-
52-
# - name: Install packages
53-
# run: npm ci
5437

55-
- name: Sets the base and head SHAs for the nx affected commands in CI
38+
- name: 💬 Sets the base and head SHAs for the nx affected commands in CI
5639
uses: nrwl/nx-set-shas@v4
5740

58-
- name: Build affected libs
41+
- name: 🔄 Build affected libs
5942
run: npx nx affected -t build
6043

61-
# We need to set github email and name as nx release will
62-
# create new tag with version and create new github release
63-
- name: Run nx release
44+
- name: 🔖 Run nx release
6445
id: release
6546
run: |
6647
git config --global user.email "some@user.dev"
@@ -73,7 +54,7 @@ jobs:
7354
echo "has_changes=true" >> $GITHUB_OUTPUT
7455
fi
7556
76-
- name: Update lock file
57+
- name: 🔐 Update lock file
7758
if: ${{ steps.release.outputs.has_changes == 'true' }}
7859
run: |
7960
pnpm install --no-frozen-lockfile

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818

1919
jobs:
2020
publish:
21+
name: 📤 Pulbish package versions
2122
runs-on: ubuntu-latest
2223
timeout-minutes: 10
2324
steps:

packages/configs/biome-config/base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"include": [
2626
"*.js",
2727
"*.cjs",
28+
"*.mjs",
2829
"*.ts",
2930
"*.jsx",
3031
"*.tsx",

0 commit comments

Comments
 (0)