Skip to content

chore: update target #12

chore: update target

chore: update target #12

Workflow file for this run

name: "build"
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
name: CI Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 'latest'
- name: Setup node
uses: actions/setup-node@v3
with:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- name: Upload jest test results
uses: actions/upload-artifact@v3
with:
name: jest-test-results
path: test-results/test-results.xml
if: ${{ always() }}
- name: Upload jest test coverage
uses: actions/upload-artifact@v3
with:
name: jest-test-coverage
path: coverage/**
if: ${{ always() }}
- name: Upload jest test coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage/**
if: ${{ always() }}