Skip to content

this is a test

this is a test #57

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
permissions:
checks: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "16"
- name: Install yarn Dependencies
run: yarn install
- name: Run Linting
run: yarn run lint
- name: Run Tests
run: yarn run ci-test
- name: Publish Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- if: github.event_name == 'pull_request'
name: Publish Coverage Results
uses: romeovs/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/lcov.info
- name: Publish Test Results
uses: EnricoMi/[email protected]
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: junit.xml