aboutsummaryrefslogtreecommitdiff
path: root/.gitea/workflows/main.yml
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-11 23:25:20 +0300
committerValentin Popov <valentin@popov.link>2024-09-11 23:25:20 +0300
commitd3034596b77d3983253d3558f0bf581e42db3171 (patch)
treed1ffcaa69a6d089697d7c69982ec5ca6faecd4ba /.gitea/workflows/main.yml
parentbe3616d2d6d3cff3604880e02b079a2b71b50ff9 (diff)
downloadpopov.link-d3034596b77d3983253d3558f0bf581e42db3171.tar.xz
popov.link-d3034596b77d3983253d3558f0bf581e42db3171.zip
Update deploy workflow to include build step and testing Gitea Action
Diffstat (limited to '.gitea/workflows/main.yml')
-rw-r--r--.gitea/workflows/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml
new file mode 100644
index 0000000..6ee3279
--- /dev/null
+++ b/.gitea/workflows/main.yml
@@ -0,0 +1,14 @@
+name: Test
+on: [push, pull_request]
+
+jobs:
+ test:
+ container: gitea/runner-images:ubuntu-latest
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ - run: npm ci
+ - run: npm run check