identifier-js 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/test.yml +14 -4
- package/package.json +1 -1
|
@@ -45,11 +45,21 @@ jobs:
|
|
|
45
45
|
path: workspace-data
|
|
46
46
|
sparse-checkout: tests/github.com/SorinGFS/identifier-js
|
|
47
47
|
|
|
48
|
-
#
|
|
49
|
-
- name:
|
|
48
|
+
# Check out the extension-owned runtime helper required by materialized dispatchers.
|
|
49
|
+
- name: Check out workspace runtime
|
|
50
|
+
uses: actions/checkout@v7
|
|
51
|
+
with:
|
|
52
|
+
repository: SorinGFS/gh-workspace-data
|
|
53
|
+
ref: v0.4.0
|
|
54
|
+
path: workspace-runtime
|
|
55
|
+
sparse-checkout: src/version-layers.js
|
|
56
|
+
sparse-checkout-cone-mode: false
|
|
57
|
+
|
|
58
|
+
# Reproduce the ordinary workspace layout generated by gh-workspace-data.
|
|
59
|
+
- name: Materialize public tests and runtime
|
|
50
60
|
run: >-
|
|
51
|
-
node -e "require('node:fs').cpSync('workspace-data/tests/github.com/SorinGFS/identifier-js', '#/public/tests', { recursive: true })"
|
|
61
|
+
node -e "const fs = require('node:fs'); fs.cpSync('workspace-data/tests/github.com/SorinGFS/identifier-js', '#/public/tests', { recursive: true }); fs.copyFileSync('workspace-runtime/src/version-layers.js', '#/version-layers.js')"
|
|
52
62
|
|
|
53
|
-
# Execute the materialized
|
|
63
|
+
# Execute the materialized Node.js suite and propagate any failed result.
|
|
54
64
|
- name: Run tests
|
|
55
65
|
run: npm test
|