Skip to content

Commit

Permalink
ci: Update license check (#59)
Browse files Browse the repository at this point in the history
* ci: Don't use matrix for license check

* ci: Drop private package exclusion

* ci: Update workflows to use newer action versions

---------

Co-authored-by: Josh Mock <[email protected]>
  • Loading branch information
elasticmachine and JoshMock authored May 8, 2024
1 parent 3c2539b commit 737e904
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
src-only: "${{ steps.changes.outputs.src-only }}"
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter/@v2.11.1
- uses: dorny/paths-filter/@v3.0.2
id: changes
with:
filters: |
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -55,23 +55,18 @@ jobs:
name: License check
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 22.x

- name: Install
run: |
npm install
- name: License checker
run: |
# TODO: remove excludePrivatePackages after this goes live
npm run license-checker -- --excludePrivatePackages
npm run license-checker

0 comments on commit 737e904

Please sign in to comment.