Skip to content

Commit

Permalink
build: Re-fix 'make test-js' target for Node v20 LTS
Browse files Browse the repository at this point in the history
This reverts commit ff429fc.
  • Loading branch information
cederberg committed Dec 21, 2023
1 parent 5ad2b64 commit 43060b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ jobs:

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*

- name: Setup
run: make clean setup

- name: Set Version Tag
if: ${{ github.ref_name != 'main' }}
run: echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
run: echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV

- name: Build & Test
run: make VERSION=${{ env.VERSION }} build doc test
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ test-js:
--ignore-pattern 'src/plugin/legacy/**/*.js' \
--ignore-pattern '**/*.min.js' \
--ignore-pattern '**/MochiKit.js'
node --import ./test/src/js/loader.mjs --test 'test/**/*.test.?(c|m)js'
node --import ./test/src/js/loader.mjs --test test/src/js/

test-java:
mkdir -p test/classes/ tmp/test/
Expand Down

0 comments on commit 43060b5

Please sign in to comment.