Skip to content

feat: initialized vite + ts + vitest + husky + bumping packages #111

feat: initialized vite + ts + vitest + husky + bumping packages

feat: initialized vite + ts + vitest + husky + bumping packages #111

name: Build
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: install
run: yarn --frozen-lockfile
- name: test & coverage
run: yarn run test
- run: yarn test --coverage
- name: SonarCloud Scan
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}