Skip to content

Commit

Permalink
Github Action TS Tests on Main (#368)
Browse files Browse the repository at this point in the history
Github Action TS Tests on Main

---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/lastmile-ai/aiconfig/pull/368).
* __->__ #368
* #366
  • Loading branch information
Ankush-lastmile authored Nov 29, 2023
2 parents a291b8a + 74e0c15 commit 9e8e1a0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main-typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Node.js Tests
# Triggers the workflow on push on main. This is the same as pr_typescript.yml but does not run on every PR.
on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "0"
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: |
cd typescript && yarn install
# TODO: we plan to uncomment these lines once linting is supported cc: @rossdanlm
# - name: Lint
# run: |
# cd typescript && yarn lint
- name: Test
run: |
cd typescript && yarn test
- name: Compile
run: |
cd typescript && yarn compile

0 comments on commit 9e8e1a0

Please sign in to comment.