aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-12-30 16:56:10 -0600
committermat <github@matdoes.dev>2021-12-30 16:56:10 -0600
commit30e3be69c8cec124927b9a48efbe8418e28d353a (patch)
treef902c3503acfd22a26ce9c50170dd3884e673158 /.github/workflows
parent4463fae72839f83a1c98359056c99c6096d3680b (diff)
parenta95c97b1610d329a617c0fb2c851e27a0b662f3d (diff)
downloadskyblock-api-30e3be69c8cec124927b9a48efbe8418e28d353a.tar.gz
skyblock-api-30e3be69c8cec124927b9a48efbe8418e28d353a.tar.bz2
skyblock-api-30e3be69c8cec124927b9a48efbe8418e28d353a.zip
Merge branch 'main' of https://github.com/skyblockstats/skyblock-api
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml22
1 files changed, 5 insertions, 17 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c51ec78..9514655 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,9 +1,9 @@
on: [ push, pull_request ]
jobs:
- test:
+ build-and-test:
runs-on: ubuntu-latest
- name: Run tests
+ name: Build & run tests
steps:
- name: Checkout
uses: actions/checkout@v2
@@ -11,26 +11,14 @@ jobs:
with:
node-version: '16.0.0'
- run: npm install
-
+ - name: Typescript compiler
+ uses: iCrawl/action-tsc@v1
- name: Run tests
run: npm test
- build:
- runs-on: ubuntu-latest
- name: Compile Typescript
- needs: [ test ]
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- - uses: actions/setup-node@v2
- with:
- node-version: '16.0.0'
- - run: npm install
- - name: Typescript compiler
- uses: iCrawl/action-tsc@v1
automerge:
- needs: [ build ]
+ needs: [ build-and-test ]
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v2.1.1