diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cfb00cdc94..579355b242 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,7 +11,7 @@ on: env: CI: true PERCY_PARALLEL_NONCE: ${{ github.run_id }}-${{ github.run_number }} - PERCY_PARALLEL_TOTAL: 4 + PERCY_PARALLEL_TOTAL: -1 jobs: fetch-dependencies: @@ -77,9 +77,8 @@ jobs: path: ./node_modules key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ - - uses: percy/exec-action@v0.3.1 - with: - custom-command: yarn test:ember --path ./dist --partition 1 + - name: Run tests with percy snapshots + run: yarn percy exec --debug --parallel --verbose yarn test:ember --path ./dist --partition 1 env: PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} @@ -102,9 +101,8 @@ jobs: path: ./node_modules key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ - - uses: percy/exec-action@v0.3.1 - with: - custom-command: yarn test:ember --path ./dist --partition 2 + - name: Run tests with percy snapshots + run: yarn percy exec --debug --parallel --verbose yarn test:ember --path ./dist --partition 2 env: PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} @@ -127,9 +125,8 @@ jobs: path: ./node_modules key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ - - uses: percy/exec-action@v0.3.1 - with: - custom-command: yarn test:ember --path ./dist --partition 3 + - name: Run tests with percy snapshots + run: yarn percy exec --debug --parallel --verbose yarn test:ember --path ./dist --partition 3 env: PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} @@ -152,9 +149,8 @@ jobs: path: ./node_modules key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ - - uses: percy/exec-action@v0.3.1 - with: - custom-command: yarn test:ember --path ./dist --partition 4 + - name: Run tests with percy snapshots + run: yarn percy exec --debug --parallel --verbose yarn test:ember --path ./dist --partition 4 env: PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} @@ -177,4 +173,22 @@ jobs: - name: Send coverage report to coveralls uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} + + finalize-percy: + needs: [test-partition-1, test-partition-2, test-partition-3, test-partition-4] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: volta-cli/action@v1 + - id: cache-node-modules + uses: actions/cache@v2 + with: + path: ./node_modules + key: cached_node_modules_${{ secrets.CACHE_VERSION }}_${{ hashFiles('**/yarn.lock') }} + restore-keys: cached_node_modules_${{ secrets.CACHE_VERSION }}_ + - run: yarn percy build:finalize + env: + PERCY_PARALLEL_NONCE: ${{ env.PERCY_PARALLEL_NONCE }} + PERCY_PARALLEL_TOTAL: ${{ env.PERCY_PARALLEL_TOTAL }} + PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} \ No newline at end of file diff --git a/.percy.yml b/.percy.yml new file mode 100644 index 0000000000..64bde30b2e --- /dev/null +++ b/.percy.yml @@ -0,0 +1,15 @@ +version: 2 +snapshot: + widths: + - 375 + - 1280 + minHeight: 1024 + percyCSS: "" +discovery: + allowedHostnames: [] + disallowedHostnames: [] + networkIdleTimeout: 100 +upload: + files: "" + ignore: "" + stripExtensions: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a8993cc49..a697931eb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [23.05.0] - 2023-03-16 +### Changed +- Fixed `ember-classic` deprecation +- Fixed `ember-views.curly-components.jquery-element` deprecation +- Misc bug fixes and improvements +### Added +- Added unit tests for file detail page + ## [23.04.0] - 2023-02-06 ### Changed - Fixed `computed-property.volatile` deprecation @@ -1909,6 +1917,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - Quick Files +[23.05.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/23.05.0 [23.04.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/23.04.0 [23.03.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/23.03.0 [23.02.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/23.02.1 diff --git a/app/dashboard/template.hbs b/app/dashboard/template.hbs index b295302940..7e8d1c2c98 100644 --- a/app/dashboard/template.hbs +++ b/app/dashboard/template.hbs @@ -157,7 +157,7 @@