Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
osipov-mit committed Aug 16, 2023
1 parent 1d4fe7e commit 6f592ae
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/CI-CD-gear-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:

- name: "gear-ui: Install dependencies"
working-directory: utils/gear-ui
run: yarn install
run: npm install

- name: "gear-ui: Build pkg"
working-directory: utils/gear-ui
run: yarn build
run: npm run build

- name: "gear-ui: Run tests"
working-directory: utils/gear-ui
run: yarn test
run: npm run test

vara-ui-build:
if: github.event_name == 'pull_request'
Expand All @@ -59,11 +59,11 @@ jobs:

- name: "vara-ui: Install dependencies"
working-directory: utils/vara-ui
run: yarn install
run: npm install

- name: "vara-ui: Build pkg"
working-directory: utils/vara-ui
run: yarn build
run: npm run build


publish-to-npm:
Expand Down Expand Up @@ -115,8 +115,8 @@ jobs:
working-directory: utils/gear-ui
run: |
export token=$(printenv $(printenv GITHUB_ACTOR))
yarn install
yarn build
npm install
npm run build
npm config set //registry.npmjs.org/:_authToken=$token
npm publish
env:
Expand All @@ -128,8 +128,8 @@ jobs:
working-directory: utils/vara-ui
run: |
export token=$(printenv $(printenv GITHUB_ACTOR))
yarn install
yarn build
npm install
npm run build
npm config set //registry.npmjs.org/:_authToken=$token
npm publish
env:
Expand Down

0 comments on commit 6f592ae

Please sign in to comment.