Skip to content

Commit

Permalink
ci: add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX committed Oct 7, 2024
1 parent 54ef7b3 commit e1c63d6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true

[*.json]
[*.{json,md,yml,yaml}]
indent_size = 2
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: test

on:
- push
- pull_request

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install PNPM
uses: pnpm/[email protected]

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: pnpm

- name: Install Dependencies
run: pnpm install

- name: Run Tests
run: pnpm run test

0 comments on commit e1c63d6

Please sign in to comment.