Skip to content

Commit

Permalink
ci: add main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nyarthan committed Aug 17, 2023
1 parent d771ce0 commit 2194dda
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Main

on:
push:
branches:
- master
pull_request:
workflow_dispatch:

jobs:
check:
name: Build, Format
runs-on: ubuntu-latest
steps:
- users: titanom/github-composite-actions/turbo/[email protected]
with:
pnpm-version: 8

- name: Check Format
run: pnpm format:check

- name: Build
run: pnpm build
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"homepage": "https://github.com/titanom/eslint-config#readme",
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check .",
"build": "tsup && fix-tsup-cjs"
},
"exports": {
Expand Down

0 comments on commit 2194dda

Please sign in to comment.