Skip to content

Commit

Permalink
Merge pull request #37 from sopa301/branch-refactor
Browse files Browse the repository at this point in the history
Clean up workflow and misc
  • Loading branch information
nikele2001 authored Dec 14, 2023
2 parents 4a887e1 + 70d4f4b commit 4205219
Show file tree
Hide file tree
Showing 6 changed files with 719 additions and 2,361 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,19 @@ jobs:
- name: Merge to main
run: git checkout --progress --force ${{ github.sha }}

- name: Install
run: npm install

- name: Run ESLint
run: npm run lint

- name: Run repository-wide tests
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/.github
run: ./run-checks.sh

- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install

- name: Run ESLint
run: npm run lint

- run: npm install
- run: npm run test -- "--coverage"
- name: Run code tests
run: npm run test -- "--coverage"

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
Loading

0 comments on commit 4205219

Please sign in to comment.