Merge pull request #2 from Kreedzt/develop #6
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: CI | |
on: [push, pull_request] | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test Coverage | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Nodejs | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Install | |
run: npm i -g pnpm && pnpm i | |
- name: test coverage | |
run: pnpm run coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 |