forked from tari-project/tari
-
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.
- Loading branch information
1 parent
1dbe7fd
commit 62fd8f8
Showing
8 changed files
with
9,192 additions
and
36,446 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Launchpad v2 CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- launchpad_such_wow | ||
pull_request: | ||
branches: | ||
- "launchpad**" | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
launchpad-v2-ci: | ||
name: test launchpad_v2 | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
- name: install Rust stable | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly-2021-11-20 | ||
components: rustfmt | ||
override: true | ||
- name: install Tauri dependencies (ubuntu only) | ||
if: startsWith(runner.os,'Linux') | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y \ | ||
libgtk-3-dev \ | ||
webkit2gtk-4.0 \ | ||
libappindicator3-dev \ | ||
librsvg2-dev \ | ||
patchelf | ||
- name: check environment | ||
run: | | ||
node -v | ||
npm -v | ||
yarn -v | ||
rustc --version | ||
date | ||
- name: install | ||
run: | | ||
cd applications/launchpad_v2 | ||
yarn install | ||
- name: yarn lint | ||
run: | | ||
cd applications/launchpad_v2 | ||
yarn lint:ci | ||
- name: yarn test | ||
run: | | ||
cd applications/launchpad_v2 | ||
yarn test:ci | ||
- name: Upload the test coverage | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: launchpad_v2_test_results | ||
path: applications/launchpad_v2/temp/reports |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Runs daily | ||
name: Launchpad v2 NPM audit | ||
on: | ||
schedule: | ||
- cron: "0 8 * * *" | ||
jobs: | ||
launchpad_v2_audit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: check environment | ||
run: | | ||
node -v | ||
npm -v | ||
yarn -v | ||
- name: npm audit launchpad_v2 | ||
run: | | ||
cd applications/launchpad_v2 | ||
npm audit |
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.