fix: landing session on different repo/org (#847) #1009
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: Node.js CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: Lint using ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use latest Node.js LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint | |
test: | |
name: Test on Node.js | |
uses: pkgjs/action/.github/workflows/node-test.yaml@v0 | |
with: | |
runs-on: ubuntu-latest, macos-latest | |
test-command: npm run coverage:ci | |
post-test-steps: | | |
- name: Upload coverage report to Codecov | |
uses: codecov/codecov-action@v3 |