mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-02 03:50:55 +00:00
test: write test in JavaScript (#108)
* test: map imported module from the distribution files * chore: remove @jest/globals, @types/jest, and ts-jest from dependencies * test: modify test files to JavaScript * test: remove `testMatch` option in Jest (redundant) * build: remove `tsconfig.eslint.json` * ci(test): set `--experimental-vm-modules` only on `Test Package` step instead
This commit is contained in:
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
@@ -12,8 +12,6 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows, ubuntu, macos]
|
||||
env:
|
||||
NODE_OPTIONS: --experimental-vm-modules
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.1.1
|
||||
@@ -34,6 +32,8 @@ jobs:
|
||||
|
||||
- name: Test Package
|
||||
run: yarn test
|
||||
env:
|
||||
NODE_OPTIONS: --experimental-vm-modules
|
||||
|
||||
test-action:
|
||||
name: Test Action
|
||||
|
||||
Reference in New Issue
Block a user