fix lint issues on js client #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Client Tests | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
paths: | |
- "clients/js/**" | |
- ".github/workflows/run-client-tests.yml" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "clients/js/**" | |
- ".github/workflows/run-client-tests.yml" | |
types: [opened, reopened] | |
workflow_dispatch: | |
jobs: | |
starshipjs-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: clients/js | |
steps: | |
- name: Checkout Repository 🛎️ | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build Project | |
run: yarn build | |
- name: Test @starship-ci/client | |
run: cd packages/client && yarn test | |
# - name: Test starshipjs | |
# run: cd js/starshipjs && yarn test |