diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..5a728c2 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,8 @@ +# PR description :hammer: + +Explain (in few sentences or bullet points) what has been done + +## Author checklist :white_check_mark: + +- [ ] :ticket: PR has been linked to Jira ticket +- [ ] :hourglass: Time has been tracked in Jira diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..3216e49 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,36 @@ +name: Lint +on: + push: + pull_request: + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + run_install: true + - name: Lint + run: | + pnpm lint + typecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + run_install: true + - name: Typecheck + run: | + pnpm tsc + prettier: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + run_install: true + - name: Run prettier + run: | + pnpm format diff --git a/package.json b/package.json index 93941b7..9d6062e 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { - "name": "classmate", + "name": "chrome-extension-template", "private": true, "version": "0.0.0", "type": "module", + "packageManager": "pnpm@9.4.0", "scripts": { "dev": "vite", "build": "tsc -b && vite build",