Skip to content

upgrade

upgrade #47

Workflow file for this run

name: CI/CD
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false
- name: Environment log
id: env
run: |
node --version
pnpm --version
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
- name: Run build process
run: |
pnpm build
- name: Run testing
run: |
pnpm test
pnpm test:build
- name: Upload test coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}