Skip to content

Commit

Permalink
Merge pull request #5 from setheum-js/dev
Browse files Browse the repository at this point in the history
Dev
balqaasem authored Dec 5, 2021
2 parents bc50893 + 768acce commit 05b9123
Showing 931 changed files with 27,841 additions and 13,309 deletions.
9 changes: 7 additions & 2 deletions .123trigger
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
19
26

0.45.2

0.71.2

0.86.2
0.91.2

0.91.2
0.92.2
0.92.3
10 changes: 10 additions & 0 deletions .github/chain-endpoints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Unavailable chain endpoints
labels: ['ci', '@apps-config']
---

cc @polkadot-js/notifications

Some configured endpoints are not available.

Check the nightly cron output (or via `yarn ci:chainEndpoints` locally) and disable the chains (either with `isDisabled` or `isUnreachable`) until the issue is resolved. The output as found from the test includes:
10 changes: 10 additions & 0 deletions .github/chain-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Outdated chain types
labels: ['ci', '@apps-config']
---

cc @polkadot-js/notifications

Some configured chains have outdated types and is determined to problematic as an available chain.

Check the nightly cron output (or via `yarn ci:chainTypes` locally) and disable the chains (either with `isDisabled` or `isUnreachable`) until the issue is resolved. The output as found from the test includes:
25 changes: 25 additions & 0 deletions .github/workflows/chain-endpoints.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Chain endpoints
on:
schedule:
- cron: '45 0/12 * * *'

jobs:
types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: check
env:
CI_LOG: 123
run: |
yarn install --immutable | grep -v 'YN0013'
yarn ci:chainEndpoints
- name: issue
if: ${{ failure() }}
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }}
with:
filename: .github/chain-endpoints.md
update_existing: true
25 changes: 25 additions & 0 deletions .github/workflows/chain-types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Chain types
on:
schedule:
- cron: '30 0/12 * * *'

jobs:
types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: check
env:
CI_LOG: 123
run: |
yarn install --immutable | grep -v 'YN0013'
yarn ci:chainTypes
- name: issue
if: ${{ failure() }}
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }}
with:
filename: .github/chain-types.md
update_existing: true
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: 'Lock Threads'

on:
schedule:
- cron: '10 2 * * *'
- cron: '15 2/3 * * *'

jobs:
lock:
2 changes: 1 addition & 1 deletion .github/workflows/pr-any.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ jobs:
pr:
strategy:
matrix:
step: ['lint', 'lint:css', 'test', 'build:code', 'build:i18n']
step: ['lint', 'test', 'build:code', 'build:i18n', 'build:electron']
name: ${{ matrix.step }}
runs-on: ubuntu-latest
steps:
18 changes: 6 additions & 12 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@ on:
jobs:
# publish to gh-pages (& IPFS when a release is detected)
www:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
strategy:
matrix:
step: ['build:release:www']
name: ${{ matrix.step }}
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -31,25 +31,27 @@ jobs:
run: |
yarn install --immutable | grep -v 'YN0013'
yarn ${{ matrix.step }}
# only run on "CI skip", i.e. when the actual version has been bumped to release/stable
docker:
name: docker
if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')"
name: docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker
env:
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
run: |
./scripts/docker.sh
./docker/build.sh
# only run on "CI skip", i.e. when the actual version has been bumped to release/stable
electron:
if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')"
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')"
name: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
@@ -83,11 +85,3 @@ jobs:
# macOS notarization API key
API_KEY_ID: ${{ secrets.API_KEY_ID }}
API_KEY_ISSUER_ID: ${{ secrets.API_KEY_ISSUER_ID }}

# dummy, GH actions fails outright when all steps are skipped (like it can be above)
dummy:
runs-on: ubuntu-latest
steps:
- name: dummy
run: |
echo "Dummy skip step"
4 changes: 2 additions & 2 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -6,8 +6,8 @@ on:
- master

jobs:
semgrep:
name: Scan
check:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '10 3 * * *'
- cron: '50 2/3 * * *'

jobs:
stale:
@@ -12,6 +12,6 @@ jobs:
repo-token: ${{ secrets.GH_PAT_BOT }}
stale-issue-message: 'This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.'
stale-issue-label: 'stale'
exempt-issue-labels: '-size-l,-size-m,-size-s,-size-xl,-size-xs,[bug]'
exempt-issue-labels: '-size-l,-size-m,-size-s,-size-xl,-size-xs,[bug],ci'
days-before-stale: 21
days-before-close: 7
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
build
coverage
docker
jest
packages
scripts
4 changes: 4 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Copyright 2017-2021 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0

module.exports = require('@polkadot/dev/config/prettier.cjs');
7 changes: 0 additions & 7 deletions .stylelintrc

This file was deleted.

591 changes: 0 additions & 591 deletions .yarn/releases/yarn-3.0.0-rc.2.cjs

This file was deleted.

631 changes: 631 additions & 0 deletions .yarn/releases/yarn-3.0.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -10,4 +10,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"

yarnPath: .yarn/releases/yarn-3.0.0-rc.2.cjs
yarnPath: .yarn/releases/yarn-3.0.1.cjs
Loading
Oops, something went wrong.

0 comments on commit 05b9123

Please sign in to comment.