Skip to content

Commit 6045371

Browse files
committed
feat: add CI workflow for automated testing and type checking
1 parent 508fee9 commit 6045371

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Setup pnpm
15+
uses: pnpm/action-setup@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
cache: 'pnpm'
22+
23+
- name: Install dependencies
24+
run: pnpm install --frozen-lockfile
25+
26+
- name: Run type check
27+
run: pnpm exec tsc --noEmit
28+
29+
- name: Run tests
30+
run: pnpm test:run

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Backlog Unfurler
22

3+
[![CI](https://github.com/simochee/backlog-unfurler/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/simochee/backlog-unfurler/actions/workflows/ci.yml)
4+
35
A browser extension that automatically unfurls Backlog issue URLs.

0 commit comments

Comments
 (0)