Skip to content

Commit 8a723e1

Browse files
committed
Adapt GitHub workflows from tc39/proposal-temporal
Use a recent version of node for these actions instead of running it on several different versions; remove anything related to spec text, test262, or cookbook.
1 parent ba438b7 commit 8a723e1

File tree

4 files changed

+7391
-1
lines changed

4 files changed

+7391
-1
lines changed

.github/workflows/lint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Run linter
2+
on: pull_request
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: use node.js v15.x
9+
uses: actions/setup-node@v1
10+
with:
11+
node-version: 15.x
12+
- run: npm ci --no-optional
13+
- run: npm run lint

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Run tests
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: use node.js v15.x
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: 15.x
16+
- run: npm ci --no-optional
17+
- run: npm test

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
package-lock.json
21
node_modules/
32
dist/
43
.eslintcache

0 commit comments

Comments
 (0)