Skip to content

Commit

Permalink
Merge branch 'master' into sgendre/feat/TFD-16325/use-ds-tabs-in-ui-f…
Browse files Browse the repository at this point in the history
…orms
  • Loading branch information
sgendre authored Nov 27, 2023
2 parents 4aa0b40 + faa8bb3 commit f00d12e
Show file tree
Hide file tree
Showing 361 changed files with 7,320 additions and 4,986 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
- name: Set up Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d #v3.8.1
with:
node-version: '20'
node-version-file: '.tool-versions'
registry-url: 'https://registry.npmjs.org/'
scope: '@talend'

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 #v5.0.2
with:
assignees: jmfrancois
reviewers: jmfrancois
reviewers: "@Talend/frontend-admins"
commit-message: "chore: upgrade dependencies"
title: "chore: upgrade dependencies"
body: "Upgrade dependencies using `talend-scripts upgrade:deps`"
Expand Down
25 changes: 14 additions & 11 deletions .github/workflows/pr-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,32 @@ jobs:
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0

- name: Use Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 18
registry-url: "https://registry.npmjs.org/"
scope: "@talend"
cache: "yarn"
uses: ./.github/actions/setup-node

- name: cache for storybook
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2
with:
path: packages/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-storybook-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-storybook-
- name: Install
run: |
node --version
yarn install --frozen-lockfile
yarn global add surge
echo "$(yarn global bin)" >> $GITHUB_PATH
- name: Build
- name: Run test:demo
run: |
node --version
yarn test:demo
- name: Before surge
run: |
node --version
yarn global add surge
echo "$(yarn global bin)" >> $GITHUB_PATH
node --version
./.github/workflows/before-surge.sh
env:
STORYBOOK_FIGMA_ACCESS_TOKEN: ${{ secrets.STORYBOOK_FIGMA_ACCESS_TOKEN }}
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ jobs:
- name: Checkout sources
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0

- name: Use Node.js
uses: ./.github/actions/setup-node

- name: Check node version
run: |
node --version
- name: Check UMD files size diff
uses: preactjs/compressed-size-action@8119d3d31b6e57b167e09c81dfa877eada3bcb35 #v2.5.0
if: github.ref != 'refs/heads/master'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/surge-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Cleanup - Remove surge demo

on:
pull_request:
types: [closed]
types: [ closed ]

permissions: {}

Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.9.0
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"prettier.prettierPath": "./node_modules/prettier/index.cjs",
"eslint.workingDirectories": [
{
"pattern": "packages/**"
Expand Down
Loading

0 comments on commit f00d12e

Please sign in to comment.