Skip to content

build(deps): bump actions/checkout from 3 to 4 (#142) #326

build(deps): bump actions/checkout from 3 to 4 (#142)

build(deps): bump actions/checkout from 3 to 4 (#142) #326

Workflow file for this run

name: CI for main branch
on:
push:
branches:
- "main"
jobs:
# See https://stackoverflow.com/a/73624365/16109047
build-and-deploy:
runs-on: ubuntu-latest
if: github.repository == 'velut/verify-hcaptcha' && github.ref == 'refs/heads/main'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test:ci
- name: Build
run: pnpm build
- name: CodeCov
uses: codecov/[email protected]