Skip to content

Commit

Permalink
adapt to talend ui
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuchet committed Oct 29, 2024
1 parent 37f0d55 commit ed4f4d1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,17 @@ jobs:
- name: Checkout sources
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3

- uses: pnpm/action-setup@v3
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Setup access to qlik npm registry
uses: qlik-trial/qmfe-workflows/actions/npm-github-access@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Use Node.js
uses: ./.github/actions/setup-node

- name: Install
working-directory: ./
run: pnpm install
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn install --frozen-lockfile

- name: Build Demo
run: pnpm run test:demo
run: yarn run test:demo

- name: Checkout demo branch
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/pr-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,22 @@ jobs:
- name: Checkout sources
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3

- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Use Node.js
uses: ./.github/actions/setup-node

- name: Setup access to qlik npm registry
uses: qlik-trial/qmfe-workflows/actions/npm-github-access@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install
working-directory: ./
run: pnpm install

env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn install --frozen-lockfile

- name: Build Demo
run: pnpm run test:demo
run: yarn run test:demo

- name: Checkout demo branch
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
Expand Down

0 comments on commit ed4f4d1

Please sign in to comment.