Skip to content

Commit

Permalink
chore: Test with GA
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Sep 5, 2024
1 parent 97882fe commit e36b89a
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 231 deletions.
36 changes: 24 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,33 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
# - name: Install packages
# run: yarn install --frozen-lockfile
- name: Install packages
run: yarn install --frozen-lockfile
# - name: Lint
# run: yarn lint
# - name: Build JS/CSS/DOCS
# run: yarn build:all
- name: Generate Sprite and Palette
run: |
yarn makeSpriteAndPalette
ll ./react
- name: Build JS
run: yarn build
- name: Build CSS
run: yarn build:css:all
# - name: Build docs React
# run: yarn build:doc:react
# - name: Build docs KSS
# run: yarn build:doc:kss
# - name: Tests without snapshots
# run: yarn test:noSnapshots
# - name: Tests snapshots
# run: yarn test:snapshots
# # - name: Bundlemon
# # run: yarn bundlemon
# - name: Bundlemon
# run: yarn bundlemon
- name: Restore CSS
run: yarn postbuild
# - name: Argos - Prepare env
# run: |
# yarn add puppeteer@"21.11.0" --dev --exact
# yarn add puppeteer@"21.11.0" --dev --exact --no-lockfile
# mkdir ./screenshots
# - name: Argos - Create desktop screenshots
# run: yarn screenshots --mode react --viewport desktop --screenshot-dir ./screenshots/reactDesktop
Expand All @@ -45,8 +57,8 @@ jobs:
# yarn argos:upload --parallel screenshots/reactDesktop/ --token $ARGOS_TOKEN --parallel-total 3 --parallel-nonce $GITHUB_RUN_ID-${UUID} --ignore ''
# yarn argos:upload --parallel screenshots/reactMobile/ --token $ARGOS_TOKEN --parallel-total 3 --parallel-nonce $GITHUB_RUN_ID-${UUID} --ignore ''
# yarn argos:upload --parallel screenshots/kss/ --token $ARGOS_TOKEN --parallel-total 3 --parallel-nonce $GITHUB_RUN_ID-${UUID} --ignore ''
# - 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
- name: Deploy
# if: ${{ github.ref_name == 'master' }}
# 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
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
node_modules
package-lock.json
build
dist
.changelog
yarn-error.log
coverage
Expand All @@ -20,7 +19,6 @@ Thumbs.db
desktop.ini

.cache
transpiled

# Generated files
react/Icon/icons-sprite.js
Expand Down
Loading

0 comments on commit e36b89a

Please sign in to comment.