From 6cb3eaf100d06530b6e25e7062e75990be6b5c8b Mon Sep 17 00:00:00 2001 From: atoz96 Date: Wed, 17 Jun 2026 11:29:54 -0400 Subject: [PATCH] ci: add prettier config and GitHub Actions workflow (#62) --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ .prettierrc | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .prettierrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2b262f3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: npm + - run: npm ci + - run: CI=true npm test + - run: npm run build diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..63c660c --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "semi": true, + "singleQuote": false, + "trailingComma": "es5" +}