Skip to content

Commit

Permalink
feat: ci job for typescript tests
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenfurniture committed Jun 4, 2024
1 parent 77391a3 commit d7f2318
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Rewards distribution

on:
workflow_dispatch:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]

jobs:
check:
strategy:
fail-fast: true

name: Typescript project
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn

- name: Install Dependencies
id: install
run: |
yarn
cd scripts/rewards-distribution
yarn
- name: Run Typescript tests
id: test
run: |
cd scripts/rewards-distribution
yarn test

0 comments on commit d7f2318

Please sign in to comment.