]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
ci: test github ci
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 29 Mar 2021 11:58:32 +0000 (13:58 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 29 Mar 2021 11:58:32 +0000 (13:58 +0200)
.github/workflows/test.yml [new file with mode: 0644]

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644 (file)
index 0000000..20fe354
--- /dev/null
@@ -0,0 +1,17 @@
+name: test
+
+on:
+  push:
+    branches: [main]
+  pull_request:
+    branches: [main]
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v2
+      - uses: bahmutov/npm-install@v1
+      - run: npm run test
+      - run: npm run codecov