Skip to content

Commit 12533a3

Browse files
committed
Auto-generated commit
1 parent 0bd17b8 commit 12533a3

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.github/workflows/pass_tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Pass Tests
2+
3+
on: push
4+
5+
jobs:
6+
tests:
7+
if: false
8+
runs-on: ubuntu-latest
9+
env:
10+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: 14
16+
- name: Install production and development dependencies
17+
id: install
18+
run: |
19+
npm install
20+
- name: Run tests
21+
id: tests
22+
run: |
23+
npm test
24+
- uses: act10ns/slack@v1
25+
with:
26+
status: ${{ job.status }}
27+
steps: ${{ toJson(steps) }}
28+
channel: '#npm-ci'
29+
if: failure()

.github/workflows/test_install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v1
1717
with:
1818
node-version: 14
19-
- name: Install dependencies via npm
19+
- name: Install production dependencies via npm
2020
run: |
2121
npm install --only=prod
2222
- uses: act10ns/slack@v1

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"test": "./test"
2323
},
2424
"types": "./docs/types",
25-
"scripts": {},
25+
"scripts": {
26+
"test": "tape $(grep -irl --include=\\*.js \"tape\" ./test)"
27+
},
2628
"homepage": "https://github.com/stdlib-js/stdlib",
2729
"repository": {
2830
"type": "git",

0 commit comments

Comments
 (0)