Skip to content

Commit

Permalink
use a modern node version
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Mar 10, 2024
1 parent b6bec39 commit abd4525
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '21'

- name: Install dependencies
run: npm ci

- name: Compile
run: npm run compile

- name: Run tests
run: xvfb-run -a npm test
if: runner.os == 'Linux'

- name: Run tests
run: npm test
if: runner.os != 'Linux'
2 changes: 1 addition & 1 deletion testCases/simple/workspace/hello.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ describe("math", () => {
// process.stdout.write("another log");
strictEqual(1 - 1, 0);
});
}
});

0 comments on commit abd4525

Please sign in to comment.