diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 9a053745..433f3e9f 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -7,6 +7,8 @@ on: jobs: lock: runs-on: ubuntu-latest + env: + YARN_ENABLE_SCRIPTS: false steps: - uses: dessant/lock-threads@v2 with: diff --git a/.github/workflows/pr-any.yml b/.github/workflows/pr-any.yml index 28d5e976..ca6d9094 100644 --- a/.github/workflows/pr-any.yml +++ b/.github/workflows/pr-any.yml @@ -8,6 +8,8 @@ jobs: step: ['lint', 'test', 'build'] name: ${{ matrix.step }} runs-on: ubuntu-latest + env: + YARN_ENABLE_SCRIPTS: false steps: - uses: actions/checkout@v2 - name: ${{ matrix.step }} diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index e9f93b17..660708d6 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -12,17 +12,18 @@ jobs: step: ['build:release'] name: ${{ matrix.step }} runs-on: ubuntu-latest + env: + YARN_ENABLE_SCRIPTS: false + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + GH_PAT: ${{ secrets.GH_PAT }} + GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - uses: actions/checkout@v2 with: fetch-depth: 0 token: ${{ secrets.GH_PAT }} - name: ${{ matrix.step }} - env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - GH_PAT: ${{ secrets.GH_PAT }} - GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | yarn install --immutable | grep -v 'YN0013' yarn ${{ matrix.step }} diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 9c4afb9a..d2339ac3 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -9,6 +9,8 @@ jobs: 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 + env: + YARN_ENABLE_SCRIPTS: false steps: - uses: actions/checkout@v2 - uses: returntocorp/semgrep-action@v1 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 473c65f4..9dbe22ee 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -6,6 +6,8 @@ on: jobs: stale: runs-on: ubuntu-latest + env: + YARN_ENABLE_SCRIPTS: false steps: - uses: actions/stale@v3 with: diff --git a/package.json b/package.json index 8bde3b85..fd8e46fd 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "devDependencies": { "@babel/core": "^7.17.2", "@babel/runtime": "^7.17.2", - "@polkadot/dev": "^0.65.52", + "@polkadot/dev": "^0.65.56", "@polkadot/x-bundle": "^8.3.3", "@types/jest": "^27.4.0", "babel-loader": "^8.2.3", diff --git a/yarn.lock b/yarn.lock index eb0dd0f7..e38f7d52 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6,11 +6,11 @@ __metadata: cacheKey: 8 "@ampproject/remapping@npm:^2.0.0": - version: 2.1.0 - resolution: "@ampproject/remapping@npm:2.1.0" + version: 2.1.1 + resolution: "@ampproject/remapping@npm:2.1.1" dependencies: "@jridgewell/trace-mapping": ^0.3.0 - checksum: 10ff0d4a559f930082f1a4c1b68dc521d5b1a75e0b8ab4829e9eedf6621386893e4a008f0db6c716f64db5d8eed49c0abcfbf3bd6ff11d5a00312454a9351ed4 + checksum: cc5cf29833e2b8bdf420821a6e027a35cf6a48605df64ae5095b55cb722581b236554fc8f920138e6da3f7a99ec99273b07ebe2e2bb98b6a4a8d8e33648cac77 languageName: node linkType: hard @@ -1581,20 +1581,20 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^1.0.5": - version: 1.0.5 - resolution: "@eslint/eslintrc@npm:1.0.5" +"@eslint/eslintrc@npm:^1.1.0": + version: 1.1.0 + resolution: "@eslint/eslintrc@npm:1.1.0" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.2.0 + espree: ^9.3.1 globals: ^13.9.0 ignore: ^4.0.6 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.0.4 strip-json-comments: ^3.1.1 - checksum: b35b50d7b65bd8acd92a05b6fb15ac62c0cefa40dfef0324ca5bf8632bf3679bab6e173c53b3ad1e1d837701cecdbd9c144b35f46588cdf4e046a9caa272488d + checksum: 784aa2157e2808b52bbbaf1d1cfca9a6ba0b2faaa3696eb7a1229d4b357400fbd8a6aa09a16e7ae0868ea075d3a8f365cf5928b6d05a1df47f40a1167423a4fa languageName: node linkType: hard @@ -1876,16 +1876,16 @@ __metadata: linkType: hard "@jridgewell/resolve-uri@npm:^3.0.3": - version: 3.0.4 - resolution: "@jridgewell/resolve-uri@npm:3.0.4" - checksum: 799bcba2730280a42f11b4d41a5d34d68ce72cb1bd23186bd3356607c93b62765b2b050e5dfb67f04ce4e817f882bfc10a4d1c43fe2d8eeb38371c98d71217b4 + version: 3.0.5 + resolution: "@jridgewell/resolve-uri@npm:3.0.5" + checksum: 1ee652b693da7979ac4007926cc3f0a32b657ffeb913e111f44e5b67153d94a2f28a1d560101cc0cf8087625468293a69a00f634a2914e1a6d0817ba2039a913 languageName: node linkType: hard "@jridgewell/sourcemap-codec@npm:^1.4.10": - version: 1.4.10 - resolution: "@jridgewell/sourcemap-codec@npm:1.4.10" - checksum: 247229218edbe165dcf0a5ae0c4b81bff1b5438818bb09221f756681fe158597fdf25c2a803f9260453b299c98c7e01ddebeb1555cda3157d987cd22c08605ef + version: 1.4.11 + resolution: "@jridgewell/sourcemap-codec@npm:1.4.11" + checksum: 3b2afaf8400fb07a36db60e901fcce6a746cdec587310ee9035939d89878e57b2dec8173b0b8f63176f647efa352294049a53c49739098eb907ff81fec2547c8 languageName: node linkType: hard @@ -2080,9 +2080,9 @@ __metadata: languageName: node linkType: hard -"@polkadot/dev@npm:^0.65.52": - version: 0.65.52 - resolution: "@polkadot/dev@npm:0.65.52" +"@polkadot/dev@npm:^0.65.56": + version: 0.65.56 + resolution: "@polkadot/dev@npm:0.65.56" dependencies: "@babel/cli": ^7.17.0 "@babel/core": ^7.17.2 @@ -2115,12 +2115,12 @@ __metadata: babel-plugin-styled-components: ^2.0.2 browserslist: ^4.19.1 coveralls: ^3.1.1 - eslint: ^8.8.0 + eslint: ^8.9.0 eslint-config-standard: ^16.0.3 eslint-import-resolver-node: ^0.3.6 eslint-plugin-header: ^3.1.1 eslint-plugin-import: ^2.25.4 - eslint-plugin-import-newlines: ^1.1.8 + eslint-plugin-import-newlines: ^1.2.0 eslint-plugin-node: ^11.1.0 eslint-plugin-promise: ^6.0.0 eslint-plugin-react: ^7.28.0 @@ -2138,11 +2138,11 @@ __metadata: jest-haste-map: ^27.5.1 jest-resolve: ^27.5.1 madge: ^5.0.1 - minimatch: ^3.0.5 + minimatch: ^3.1.1 mkdirp: ^1.0.4 prettier: ^2.5.1 rimraf: ^3.0.2 - rollup: ^2.67.1 + rollup: ^2.67.2 rollup-plugin-cleanup: ^3.2.1 typescript: ^4.5.5 yargs: ^17.3.1 @@ -2168,7 +2168,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 1c0e02fec855db73fd9d17f6051419ce278d9572d1df9c1c1f7a5f0b0e46668729015dce07197a2d2f34db4c898e564d8ffeaab9483eef5915685975bf1e317f + checksum: abd9a516a2c2a0cf94c5d9c18e9b3733a32a29c8313b6a710bfbed9a8c91683f475af347a0d909a5835a0364f4855a9e5fa1026bca17698c3368bf7833cc22a3 languageName: node linkType: hard @@ -6261,14 +6261,14 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import-newlines@npm:^1.1.8": - version: 1.1.8 - resolution: "eslint-plugin-import-newlines@npm:1.1.8" +"eslint-plugin-import-newlines@npm:^1.2.0": + version: 1.2.0 + resolution: "eslint-plugin-import-newlines@npm:1.2.0" peerDependencies: eslint: ">=6.0.0" bin: import-linter: lib/index.js - checksum: f4bffded815faed4063c4d75a5d5941d08fc13435da54a0a3ea396695bdd8d91efde2262a0eb9debb6a9e8ef00ccbe5d97d078fa521f4be26942f2e4a5897c8c + checksum: aa6db47826dd11e775fd18a367b1cf14d411c371c6f5d421aeaca917b426934cff6b411de5c4253b03f8f962634d8b9d247ba874d5310296dc0a43690dc17d7e languageName: node linkType: hard @@ -6383,13 +6383,13 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.1.0": - version: 7.1.0 - resolution: "eslint-scope@npm:7.1.0" +"eslint-scope@npm:^7.1.1": + version: 7.1.1 + resolution: "eslint-scope@npm:7.1.1" dependencies: esrecurse: ^4.3.0 estraverse: ^5.2.0 - checksum: 2070470a0725438ed47075b2574a4c03cf59aa32648da8cff9e3548c84f6b0079cfdb9ee1dd7ab0bfe97011f64b2af5bfd4b69cf14a1292130dec661eec7914a + checksum: 9f6e974ab2db641ca8ab13508c405b7b859e72afe9f254e8131ff154d2f40c99ad4545ce326fd9fde3212ff29707102562a4834f1c48617b35d98c71a97fbf3e languageName: node linkType: hard @@ -6427,18 +6427,18 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.1.0, eslint-visitor-keys@npm:^3.2.0": - version: 3.2.0 - resolution: "eslint-visitor-keys@npm:3.2.0" - checksum: fdadbb26f9e6417d3db7ad4f00bb0d573b6031c32fa72e8cdae32d038223faaeddff2ee443c90cb489bf774e75bff765c00912b8f9106d65e4f202ccd78c1b18 +"eslint-visitor-keys@npm:^3.0.0, eslint-visitor-keys@npm:^3.3.0": + version: 3.3.0 + resolution: "eslint-visitor-keys@npm:3.3.0" + checksum: d59e68a7c5a6d0146526b0eec16ce87fbf97fe46b8281e0d41384224375c4e52f5ffb9e16d48f4ea50785cde93f766b0c898e31ab89978d88b0e1720fbfb7808 languageName: node linkType: hard -"eslint@npm:^8.8.0": - version: 8.8.0 - resolution: "eslint@npm:8.8.0" +"eslint@npm:^8.9.0": + version: 8.9.0 + resolution: "eslint@npm:8.9.0" dependencies: - "@eslint/eslintrc": ^1.0.5 + "@eslint/eslintrc": ^1.1.0 "@humanwhocodes/config-array": ^0.9.2 ajv: ^6.10.0 chalk: ^4.0.0 @@ -6446,10 +6446,10 @@ __metadata: debug: ^4.3.2 doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 - eslint-scope: ^7.1.0 + eslint-scope: ^7.1.1 eslint-utils: ^3.0.0 - eslint-visitor-keys: ^3.2.0 - espree: ^9.3.0 + eslint-visitor-keys: ^3.3.0 + espree: ^9.3.1 esquery: ^1.4.0 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 @@ -6475,18 +6475,18 @@ __metadata: v8-compile-cache: ^2.0.3 bin: eslint: bin/eslint.js - checksum: 41a7e85bf84cf9f2d758ef3e8d08020a39a2836703728b59535684681349bd021c2c6e24174462b844a914870d707d2151e0371198899d957b444de91adaa435 + checksum: 8efecdb9752ee6cb4d2787a14e00cbeab29562ed95dd71c6f3f8ac410426a067d5aa659416d2290e46ca44bc5607e6a6e6c62f814694d8639f80666f522022a7 languageName: node linkType: hard -"espree@npm:^9.2.0, espree@npm:^9.3.0": - version: 9.3.0 - resolution: "espree@npm:9.3.0" +"espree@npm:^9.3.1": + version: 9.3.1 + resolution: "espree@npm:9.3.1" dependencies: acorn: ^8.7.0 acorn-jsx: ^5.3.1 - eslint-visitor-keys: ^3.1.0 - checksum: c0f1885c4eab652f9be08eb9228cea0df046b559b29d4aed8d6590ea9bd60177d4cb245d204a6f737a79a096861bb4ab8e480aeb8c1dbafef5beec1157353ce4 + eslint-visitor-keys: ^3.3.0 + checksum: d7161db30b65427e0799383699ac4c441533a38faee005153694b68b933ba7a24666680edfc490fa77e3a84a22dbd955768034a6f811af5049774eead83063a5 languageName: node linkType: hard @@ -10574,12 +10574,12 @@ fsevents@~2.1.2: languageName: node linkType: hard -"minimatch@npm:2 || 3, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5": - version: 3.0.5 - resolution: "minimatch@npm:3.0.5" +"minimatch@npm:2 || 3, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.1.1": + version: 3.1.1 + resolution: "minimatch@npm:3.1.1" dependencies: brace-expansion: ^1.1.7 - checksum: a3b84b426eafca947741b864502cee02860c4e7b145de11ad98775cfcf3066fef422583bc0ffce0952ddf4750c1ccf4220b1556430d4ce10139f66247d87d69e + checksum: e9e3772e4ea06ea3a888d39bc7690d3c812ee7e5a70c2d2f568ccadac0249a027f865589d19ad03ed937e6ca3b4ad35f85411db9670f7877d8fc2ed452f1cd37 languageName: node linkType: hard @@ -12544,9 +12544,9 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard -"rollup@npm:^2.67.1": - version: 2.67.1 - resolution: "rollup@npm:2.67.1" +"rollup@npm:^2.67.2": + version: 2.67.2 + resolution: "rollup@npm:2.67.2" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -12554,7 +12554,7 @@ resolve@^2.0.0-next.3: optional: true bin: rollup: dist/bin/rollup - checksum: 4320927ae9d42abf0a72ccdfd14303f7b6d6908ec94be953900a41bd4c0bbba3131887c3925dec65361a3e394cb572a4fa8e1f1be4db587a775068ad71d42acd + checksum: 9aca5251ba4b441064183cde2394b91567259002d68086bdd3906db66d55dd148ab27e57c51eb53830d7b9b813c2d4e834b7735d65e2a869780bc639d4a20c38 languageName: node linkType: hard @@ -12564,7 +12564,7 @@ resolve@^2.0.0-next.3: dependencies: "@babel/core": ^7.17.2 "@babel/runtime": ^7.17.2 - "@polkadot/dev": ^0.65.52 + "@polkadot/dev": ^0.65.56 "@polkadot/x-bundle": ^8.3.3 "@types/jest": ^27.4.0 babel-loader: ^8.2.3