Skip to content
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
6 changes: 2 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
"no-extra-semi": "error"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
"no-extra-semi": "error"
}
}
]
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v2
- uses: actions/setup-node@v3

- uses: nrwl/nx-set-shas@v4

- uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
cache: "npm"

- run: npm ci
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,30 @@ on:
release:
types: [published]

permissions:
id-token: write # Required for OIDC
contents: read

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "20.x"
node-version: "22.x"
registry-url: "https://registry.npmjs.org"
cache: "npm"

# Ensure npm 11.5.1 or later is installed
- name: Update npm
run: npm install -g npm@latest

- run: npm ci

- run: npm run nx -- run-many --target=lint --all
- run: npm run nx -- run-many --target=test --all --ci

- run: npm run nx -- run-many --target=bump --all --ver=${{github.ref_name}}
- run: npm run nx -- run-many --target=publish --all --ver=${{github.ref_name}} --tag=latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/iron
lts/jod
Loading