Merge pull request #25 from sunpochin/develop #25
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: Coveralls | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Run tests | |
run: yarn test:unit --coverage | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/github-action@v2.2.3 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Upload coverage to Coveralls | |
# uses: coverallsapp/github-action@v2 |