1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00
Files
tools/.github/workflows/ci.yaml
Andrew Robonen 26b2392f9b ops(repo): add CI workflow for running tests on pull requests (#11)
* ops(repo): add CI workflow for running tests on pull requests

* fix(repo): test command in CI workflow to use pnpm run all:test

* fix(repo): update Node version in CI workflow to 20.x

* fix(repo): update CI workflow to install dependencies using pnpm
2024-04-26 04:20:02 +07:00

29 lines
485 B
YAML

name: CI
on:
- pull_request
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm run all:test