We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f1f78 commit 20054e0Copy full SHA for 20054e0
.github/workflows/test.yml
@@ -0,0 +1,29 @@
1
+name: Run Tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
19
+ - name: Set up Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 'lts/*'
23
+ cache: 'npm'
24
25
+ - name: Install dependencies
26
+ run: npm install
27
28
+ - name: Run tests
29
+ run: npm test
package.json
@@ -3,6 +3,9 @@
"type": "module",
"description": "The path module from Node.js core for browsers",
"version": "1.1.0",
+ "scripts": {
+ "test": "tape test/"
+ },
"author": {
"name": "James Halliday",
"email": "[email protected]",
0 commit comments