-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 1.0.2
- Loading branch information
Showing
37 changed files
with
253 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,119 +28,9 @@ jobs: | |
yarn e2e:build | ||
yarn e2e:coverage | ||
# Upload artifacts | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
# Cache results | ||
- name: Cache results | ||
uses: actions/cache@v3 | ||
with: | ||
name: e2e-tests | ||
path: coverage | ||
|
||
|
||
|
||
# deploy: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# # Default first step do checkout the repository | ||
# - uses: actions/checkout@v3 | ||
|
||
# # Node js installation | ||
# - name: Install Node.js version 16.x | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: '16.x' | ||
|
||
# # Cache node modules | ||
# - name: Cache node modules | ||
# id: cache-node-modules | ||
# uses: actions/cache@v3 | ||
# env: | ||
# cache-name: cache-node-modules-yarn | ||
# with: | ||
# path: node_modules | ||
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-build-${{ env.cache-name }}- | ||
# ${{ runner.os }}-build- | ||
# ${{ runner.os }}- | ||
|
||
# # Install yarn | ||
# - name: Install yarn | ||
# run: npm i -g yarn | ||
|
||
# # Install dependencies | ||
# - name: Install dependencies | ||
# # if: ${{ steps.cache-node-modules.outputs.cache-hit != 'true' }} | ||
# run: yarn install | ||
|
||
# # Build | ||
# - name: Build ⚙️ | ||
# run: yarn build:dev | ||
|
||
# # Run tests | ||
# - name: Unit tests | ||
# run: yarn unit:build | ||
|
||
# # Copy default redirect page | ||
# - name: Redirect page copy | ||
# run: cp src/redirect.html dist/vernite/index.html | ||
|
||
# # Deploy to the server using rsync | ||
# - name: Deploy app 🚀 | ||
# uses: easingthemes/ssh-deploy@main | ||
# env: | ||
# SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | ||
# ARGS: '-rltgoDzvO --delete' | ||
# SOURCE: './dist/vernite/' | ||
# REMOTE_HOST: '51.83.255.98' | ||
# REMOTE_PORT: '2224' | ||
# REMOTE_USER: 'frontend' | ||
# TARGET: '/var/www/html/dev' | ||
# EXCLUDE: '/dist/, /node_modules/' | ||
|
||
# # Run e2e tests | ||
# - name: E2E tests | ||
# run: yarn e2e:build | ||
|
||
# # Build documentation and badges | ||
# - name: Documentation | ||
# run: | | ||
# yarn docs:build | ||
# yarn badges:build | ||
# yarn analyze:build | ||
|
||
# # Build audit report | ||
# - name: Audit report | ||
# run: | | ||
# mkdir -p documentation/audit | ||
# yarn audit:build | ||
|
||
# # SonarQube scan | ||
# # - uses: sonarsource/sonarqube-scan-action@master | ||
# # env: | ||
# # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
# # SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} | ||
|
||
# # Copy coverage directory | ||
# - name: Copy coverage directory | ||
# run: | | ||
# cp -R coverage/vernite documentation/coverage-unit | ||
# cp -R coverage/vernite-e2e documentation/coverage-e2e | ||
|
||
# # Deploy documentation to Github pages, TODO: add a condition to deploy different version of documentations | ||
# - name: Deploy documentation 📄 | ||
# uses: JamesIves/[email protected] | ||
# with: | ||
# branch: gh-pages | ||
# folder: documentation | ||
# target-folder: dev | ||
# clean-exclude: prod/ | ||
|
||
# # Deploy documentation index to Github pages | ||
# - name: Deploy docs-pages | ||
# uses: JamesIves/[email protected] | ||
# with: | ||
# branch: gh-pages | ||
# folder: docs-pages | ||
# clean-exclude: | | ||
# dev/ | ||
# prod/ | ||
key: ${{ runner.os }}-e2e-tests-${{ github.run_id }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.