summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-11-02 17:12:49 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-11-02 17:14:38 +0000
commit2cd21412bbf2cd97ce60219eeec3c466967252e5 (patch)
treebba63876454dbb453c66fca2868f4a4f2dd16e2c
parent74da9dbabe822ea2406206df00b76b7f77baf0b8 (diff)
downloadthrow_simulation-2cd21412bbf2cd97ce60219eeec3c466967252e5.tar
throw_simulation-2cd21412bbf2cd97ce60219eeec3c466967252e5.tar.gz
throw_simulation-2cd21412bbf2cd97ce60219eeec3c466967252e5.zip
Set up continuous integration
-rw-r--r--.github/workflows/check.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000..04e8f16
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,11 @@
+on: [push, pull_request]
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: "22"
+ - run: npm ci --include=dev
+ - run: npx prettier . --check