Skip to content

Commit be8684e

Browse files
authored
Merge pull request #3074 from CarnegieLearningWeb/bugfix/add-missing-types-build-to-publish-action
add missing types build to publishing action
2 parents c500c37 + fd990ba commit be8684e

7 files changed

Lines changed: 3132 additions & 5558 deletions

File tree

.github/actions/generic-npm-build/action.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/actions/get-dev-version/action.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/clientlibs-js-publish.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,28 @@ on:
1010
ref:
1111
description: 'Branch or tag ref to publish'
1212
required: true
13-
default: 'main'
13+
default: 'main'
1414
jobs:
1515
clientlibs-js-publish:
1616
name: UpGrade Client Libs JS Publish
1717
runs-on: ubuntu-latest
1818
steps:
19-
- name: Set Input Variables
20-
id: set-vars
21-
run: |
22-
echo "::set-output name=ref::${{ inputs.ref || github.event.inputs.ref }}"
2319
- name: Git Checkout
24-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2521
with:
26-
ref: ${{ steps.set-vars.outputs.ref }}
27-
- name: Build Types Package
28-
uses: ./.github/actions/generic-npm-build
22+
ref: ${{ inputs.ref || github.sha }}
23+
- uses: actions/setup-node@v4
2924
with:
30-
working_directory: clientlibs/js
31-
- name: Publish Client Libs js Package
25+
node-version: 22
26+
- name: Install Root Dependencies
27+
run: yarn install --frozen-lockfile
28+
- name: Install Dependencies
29+
working-directory: clientlibs/js
30+
run: yarn install --frozen-lockfile
31+
- name: Build
32+
working-directory: clientlibs/js
33+
run: yarn build
34+
- name: Publish upgrade_client_lib
3235
uses: JS-DevTools/npm-publish@v1
3336
with:
3437
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)