From 8ed88ca8f81633d35b8a16b5e02588dde7f0f1e6 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 17 Sep 2022 23:42:30 +0800 Subject: CI --- .github/workflows/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0eb0b3..fd5b46a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,9 +6,9 @@ name: CI on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -26,5 +26,8 @@ jobs: - uses: actions/checkout@v2 # Runs a single command using the runners shell - - name: Checks for compatability with CT 1.3 and 2.0 - run: node ./CI/supporttest.js + - name: Import modules + run: npm i + + - name: Compile + run: babel src -d out --copy-files -- cgit From 7997c067ab6a69ef587a40c244caf36805a00e8c Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 17 Sep 2022 23:44:21 +0800 Subject: npx? --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd5b46a..b236feb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,4 +30,4 @@ jobs: run: npm i - name: Compile - run: babel src -d out --copy-files + run: npx babel src -d out --copy-files -- cgit