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
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '20'
node-version: '>=22.22.3 <23'
check-latest: false
- name: Install deps
run: npm ci
Expand All @@ -49,7 +49,7 @@
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
node: ["20", "22", "24"]
node: [">=22.22.3 <23", ">=24.15.0 <25", "26"]
fail-fast: false
name: Test Node ${{ matrix.node }} (${{ matrix.os }})
steps:
Expand Down Expand Up @@ -95,7 +95,7 @@
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
node-version: '>=22.22.3 <23'
check-latest: false
- name: Setup java
uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520 # v5.4.0
Expand All @@ -118,7 +118,7 @@
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
node: ["20"]
node: [">=22.22.3 <23"]
fail-fast: false
steps:
- name: Checkout
Expand Down Expand Up @@ -182,7 +182,7 @@
- name: Setup node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '20'
node-version: '>=22.22.3 <23'
registry-url: 'https://wombat-dressing-room.appspot.com/'
check-latest: false
- name: 'Download Artifacts'
Expand All @@ -201,7 +201,7 @@
- name: Publish
id: publish
if: steps.canary_check.outputs.skip != 'true' && steps.release_tag.outputs.published != 'true'
run: npm publish ./dist/packages-dist --access public --registry https://wombat-dressing-room.appspot.com --tag "$NPM_TAG"

Check notice on line 204 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

use-trusted-publishing

test.yml:204: prefer trusted publishing for authentication: this command
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TAG: ${{ steps.release_tag.outputs.tag || 'canary' }}
Expand Down
7 changes: 4 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ const tsParser = require('@typescript-eslint/parser');
const js = require('@eslint/js');
const globals = require('globals');
const ts = require('@typescript-eslint/eslint-plugin');
const ng = require('@angular-eslint/eslint-plugin');
const angular = require('angular-eslint');
const esImport = require('eslint-plugin-import');

module.exports = [
{
files: ['**/*.ts'],
plugins: {
'@typescript-eslint': ts,
'@angular-eslint': ng,
'@angular-eslint': angular.tsPlugin,
import: esImport,
},
languageOptions: {
Expand All @@ -26,7 +26,8 @@ module.exports = [
...js.configs.recommended.rules,
...ts.configs['recommended-requiring-type-checking'].rules,
...ts.configs['stylistic-type-checked'].rules,
...ng.configs.recommended.rules,
// Merged across every tsRecommended entry, so an upstream split or reorder drops no rule.
...Object.assign({}, ...angular.configs.tsRecommended.map(config => config.rules)),
...esImport.configs.errors.rules,
// eslint/js rules
'no-undef': 'off',
Expand Down
Loading
Loading