Added Node SDK Folders API #452
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
- v7.0.0-beta | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 16.x, 18.x, 20.x ] | |
name: Nodejs ${{ matrix.node-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Nodejs ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies and build | |
run: npm install | |
- name: Run lint checks | |
run: npm run lint:ci | |
- name: Run prettier checks | |
run: npm run lint:prettier:check | |
- name: Run tests | |
run: npm run test:coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |