Top-level uses for GH actions
This commit is contained in:
7
.github/workflows/jest-tests.yml
vendored
7
.github/workflows/jest-tests.yml
vendored
@ -9,16 +9,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '12'
|
||||
- name: Install Code Climate test-reporter
|
||||
run: |
|
||||
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||
chmod +x ./cc-test-reporter
|
||||
- name: Install modules
|
||||
run: npm install
|
||||
run: npm ci
|
||||
- name: Run tests
|
||||
run: |
|
||||
./cc-test-reporter before-build
|
||||
|
||||
Reference in New Issue
Block a user