Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
modify main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuvssut committed May 8, 2024
1 parent 5fe17bf commit 5d22ecd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,24 @@ jobs:
- name: Action checkout
uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Setting up Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
node-version: 'lts/*'
cache: "yarn"

- name: Installing dependencies
run: yarn --immutable
run: |
yarn install > yarn-install.log || echo "Yarn install failed. See yarn-install.log for details."
- name: Display Yarn install log
run: cat yarn-install.log

- name: tsc Linting
run: cd lib/js-sdk && yarn lint

- name: Build SDK dist/
run: cd lib/js-sdk && yarn build


0 comments on commit 5d22ecd

Please sign in to comment.