Skip to content

Commit

Permalink
chore: Enhanced GA CI with cache
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Sep 5, 2024
1 parent 98ec1bb commit 5f48ee9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup_argos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ runs:
if: ${{ steps.cache-node-modules-puppeteer.outputs.cache-hit != 'true' }}
shell: bash
run: |
yarn add puppeteer@"21.11.0" --dev --exact
yarn add puppeteer@"22.15.0" --dev --exact
18 changes: 10 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_argos
- uses: ./.github/actions/build_cache
- uses: ./.github/actions/build_cache_read
- uses: ./.github/actions/build_argos_desktop_cache
- name: Argos - Create desktop screenshots
run: |
Expand All @@ -71,7 +71,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_argos
- uses: ./.github/actions/build_cache
- uses: ./.github/actions/build_cache_read
- uses: ./.github/actions/build_argos_mobile_cache
- name: Argos - Create mobile screenshots
run: |
Expand All @@ -83,7 +83,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_argos
- uses: ./.github/actions/build_cache
- uses: ./.github/actions/build_cache_read
- uses: ./.github/actions/build_argos_kss_cache
- name: Argos - Create kss screenshots
run: |
Expand All @@ -110,9 +110,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup_modules
- uses: ./.github/actions/build_cache
- uses: ./.github/actions/build_cache_read
- name: Deploy
if: ${{ github.ref_name == 'master' }}
run: |
yarn deploy:doc --username cozycloud --email [email protected] --repo https://cozy-bot:[email protected]/cozy/cozy-ui.git
yarn semantic-release
# if: ${{ github.ref_name == 'master' }}
# run: |
# yarn deploy:doc --username cozycloud --email [email protected] --repo https://cozy-bot:[email protected]/cozy/cozy-ui.git
# yarn semantic-release
run: yarn git-directory-deploy --directory ./ --branch build-jf --username cozycloud --email [email protected] --repo https://cozy-bot:[email protected]/cozy/cozy-ui.git

4 changes: 4 additions & 0 deletions react/MuiCozyTheme/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import React from 'react'
import { getTheme } from './theme'
import { ThemeProvider } from '../styles'

console.log(' ')
console.log('🟢 BUILDED FROM GA WITH CACHE')
console.log(' ')

const MuiCozyTheme = ({ type, variant, children }) => {
const theme = getTheme(type, variant)

Expand Down

0 comments on commit 5f48ee9

Please sign in to comment.