Skip to content

Commit

Permalink
run integration tests in CI
Browse files Browse the repository at this point in the history
Attempt: #1
  • Loading branch information
RobinMalfait committed May 17, 2021
1 parent 3f6afbb commit 8857e30
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,36 @@ jobs:
run: npm install
env:
CI: true
- run: npm run prepublishOnly
- run: npm run babelify
- run: npm test -- --coverage
env:
CI: true
- run: bash <(curl -s --retry 5 --retry-delay 2 --connect-timeout 2 https://codecov.io/bash)

integrations:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install root dependencies
run: npm install
env:
CI: true
- name: Install integration dependencies
run: npm run install:integrations
env:
CI: true
- run: npm run babelify
- run: npm run test:integrations
env:
CI: true


0 comments on commit 8857e30

Please sign in to comment.