chore: use latest node in GitHub actions (#11598)

* chore: use latest node and update actions

* chore: clean up unused information
This commit is contained in:
Huáng Jùnliàng 2020-05-22 22:12:31 -04:00 committed by GitHub
parent dcd23c7949
commit 87d747976d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,23 +5,15 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [13.x]
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node-version }}
- name: Environment log
id: env
run: |
yarn --version
node-version: "*"
- name: Generate coverage report
run: |
yarn --version
make -j test-ci-coverage
- name: Upload coverage report
uses: codecov/codecov-action@v1