Skip to content

Commit

Permalink
🪶 chore: updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HalloSouf committed Jun 30, 2024
1 parent 94988d0 commit d237bcc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/test-code.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests
on:
push:
pull_request:
jobs:
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: 21
- name: Install dependencies
run: yarn install
- name: Run test files
run: yarn test
- name: Upload coverage reports
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: mcdata-dev/mcdata-data

0 comments on commit d237bcc

Please sign in to comment.