GeezerVison is showing github.com — Switch to GitHub Actions CI. · susu2568/nodejs.org@b4a1eeb
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +29Lines changed: 29 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: Tests |
| 2 | +on: [push, pull_request] |
| 3 | + |
| 4 | +jobs: |
| 5 | + test: |
| 6 | + runs-on: ubuntu-latest |
| 7 | + |
| 8 | + steps: |
| 9 | + - name: Clone repository |
| 10 | + uses: actions/checkout@v1 |
| 11 | + |
| 12 | + - name: Set up Node.js |
| 13 | + uses: actions/setup-node@v1 |
| 14 | + with: |
| 15 | + node-version: "10" |
| 16 | + |
| 17 | + - run: node --version |
| 18 | + - run: npm --version |
| 19 | + |
| 20 | + - name: Install npm dependencies |
| 21 | + run: npm ci |
| 22 | + env: |
| 23 | + CI: true |
| 24 | + |
| 25 | + - name: Build |
| 26 | + run: npm run build |
| 27 | + |
| 28 | + - name: Run tests |
| 29 | + run: npm test |
Collapse file
Copy file name to clipboardExpand all lines: .travis.yml -6Lines changed: 0 additions & 6 deletions Collapse file
Copy file name to clipboardExpand all lines: README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | # [nodejs.org](https://nodejs.org/) |
2 | 2 |
|
3 | | -[](https://travis-ci.com/nodejs/nodejs.org) |
| 3 | +[](https://github.com/nodejs/nodejs.org/actions) |
4 | 4 | [](https://david-dm.org/nodejs/nodejs.org) |
5 | 5 | [](LICENSE) |
6 | 6 |
|
|