From c1644287e1b6957aed8b9fe8d2d9dd20bf5adb1a Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sun, 15 Mar 2020 08:21:31 +0100 Subject: [PATCH] Remove non-working CI cache (#293) --- .github/workflows/pr-any.yml | 40 ------------------------------- .github/workflows/push-master.yml | 20 ---------------- .vscode/settings.json | 11 +++++++++ yarn.lock | 28 +++++++++++----------- 4 files changed, 25 insertions(+), 74 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.github/workflows/pr-any.yml b/.github/workflows/pr-any.yml index 49a2ee05..446a3c6d 100644 --- a/.github/workflows/pr-any.yml +++ b/.github/workflows/pr-any.yml @@ -14,16 +14,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Config yarn cache - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: lint run: | yarn install --immutable | grep -v 'YN0013' @@ -41,16 +31,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Config yarn cache - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: test run: | yarn install --immutable | grep -v 'YN0013' @@ -68,16 +48,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Config yarn cache - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: build run: | yarn install --immutable | grep -v 'YN0013' @@ -95,16 +65,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Config yarn cache - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: build run: | yarn install --immutable | grep -v 'YN0013' diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 929c5ecf..e808a624 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -20,16 +20,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Config yarn cache - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: build env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} @@ -54,16 +44,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Config yarn cache - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - name: build env: GH_PAT: ${{ secrets.GH_PAT }} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..6d1cf17c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "editor.tabSize": 2, + "files.eol": "\n", + "npm.packageManager": "yarn", + "eslint.enable": true, + "eslint.validate": [ + "javascript", + "typescript", + "typescriptreact" + ] +} diff --git a/yarn.lock b/yarn.lock index 5504b89e..be95f2b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2863,8 +2863,8 @@ __metadata: linkType: hard "@polkadot/dev@npm:^0.50.33": - version: 0.50.33 - resolution: "@polkadot/dev@npm:0.50.33" + version: 0.50.35 + resolution: "@polkadot/dev@npm:0.50.35" dependencies: "@babel/cli": ^7.8.4 "@babel/core": ^7.8.7 @@ -2946,7 +2946,7 @@ __metadata: polkadot-exec-typedoc: scripts/polkadot-exec-typedoc.js polkadot-exec-vuepress: scripts/polkadot-exec-vuepress.js polkadot-exec-webpack: scripts/polkadot-exec-webpack.js - checksum: 2/8dd7f23799da0a653838694f76d3f8222b39a57465c5feada5ef0c874ce82d2e5cd210bc59414182e05345512d68d1346a9b866d7dfa6e4c31c8b29ff7cd8c4d + checksum: 2/b083a64079ee709c1d2601d7abb296f0f0230977a804014768e52202d23f8d63668cb6f16d0eb3e53935ecc420dc9f7410f4b91aa26fe14acc86a42c83a04686 languageName: node linkType: hard @@ -2996,8 +2996,8 @@ __metadata: dependencies: "@babel/runtime": ^7.8.7 "@polkadot/keyring": ^2.6.2 - "@polkadot/ui-settings": 0.52.0-beta.12 - "@polkadot/ui-shared": 0.52.0-beta.12 + "@polkadot/ui-settings": 0.52.0-beta.13 + "@polkadot/ui-shared": 0.52.0-beta.13 "@polkadot/util": ^2.6.2 "@polkadot/util-crypto": ^2.6.2 "@types/react-copy-to-clipboard": ^4.3.0 @@ -3036,12 +3036,12 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/reactnative-identicon@0.52.0-beta.12, @polkadot/reactnative-identicon@workspace:packages/reactnative-identicon": +"@polkadot/reactnative-identicon@0.52.0-beta.13, @polkadot/reactnative-identicon@workspace:packages/reactnative-identicon": version: 0.0.0-use.local resolution: "@polkadot/reactnative-identicon@workspace:packages/reactnative-identicon" dependencies: "@babel/runtime": ^7.8.7 - "@polkadot/ui-shared": 0.52.0-beta.12 + "@polkadot/ui-shared": 0.52.0-beta.13 "@polkadot/util-crypto": ^2.6.2 "@types/react-native": ^0.61.22 react-native-svg: ^12.0.3 @@ -3085,7 +3085,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/ui-keyring@0.52.0-beta.12, @polkadot/ui-keyring@workspace:packages/ui-keyring": +"@polkadot/ui-keyring@0.52.0-beta.13, @polkadot/ui-keyring@workspace:packages/ui-keyring": version: 0.0.0-use.local resolution: "@polkadot/ui-keyring@workspace:packages/ui-keyring" dependencies: @@ -3115,7 +3115,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/ui-settings@0.52.0-beta.12, @polkadot/ui-settings@workspace:packages/ui-settings": +"@polkadot/ui-settings@0.52.0-beta.13, @polkadot/ui-settings@workspace:packages/ui-settings": version: 0.0.0-use.local resolution: "@polkadot/ui-settings@workspace:packages/ui-settings" dependencies: @@ -3129,7 +3129,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/ui-shared@0.52.0-beta.12, @polkadot/ui-shared@workspace:packages/ui-shared": +"@polkadot/ui-shared@0.52.0-beta.13, @polkadot/ui-shared@workspace:packages/ui-shared": version: 0.0.0-use.local resolution: "@polkadot/ui-shared@workspace:packages/ui-shared" dependencies: @@ -3184,7 +3184,7 @@ __metadata: resolution: "@polkadot/vue-identicon@workspace:packages/vue-identicon" dependencies: "@babel/runtime": ^7.8.7 - "@polkadot/ui-shared": 0.52.0-beta.12 + "@polkadot/ui-shared": 0.52.0-beta.13 "@polkadot/util-crypto": ^2.6.2 jdenticon: 2.2.0 vue: ^2.6.11 @@ -8823,9 +8823,9 @@ __metadata: "@babel/core": ^7.8.7 "@babel/runtime": ^7.8.7 "@polkadot/keyring": ^2.6.2 - "@polkadot/reactnative-identicon": 0.52.0-beta.12 - "@polkadot/ui-keyring": 0.52.0-beta.12 - "@polkadot/ui-settings": 0.52.0-beta.12 + "@polkadot/reactnative-identicon": 0.52.0-beta.13 + "@polkadot/ui-keyring": 0.52.0-beta.13 + "@polkadot/ui-settings": 0.52.0-beta.13 "@polkadot/util": ^2.6.2 "@polkadot/util-crypto": ^2.6.2 "@react-native-community/async-storage": ^1.8.1