diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e0576d..707985a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache yarn cache - uses: actions/cache@v2 + uses: actions/cache@v3 id: cache-yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -33,7 +33,7 @@ jobs: - name: Cache node_modules id: cache-node-modules - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: node_modules key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6dff9cc..1dea5e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache yarn cache - uses: actions/cache@v2 + uses: actions/cache@v3 id: cache-yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -32,7 +32,7 @@ jobs: - name: Cache node_modules id: cache-node-modules - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: node_modules key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }} @@ -48,10 +48,10 @@ jobs: - name: Build and test frontend run: yarn build -# - name: Sign plugin -# run: yarn sign -# env: -# GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }} # Requires a Grafana API key from Grafana.com. + - name: Sign plugin + run: yarn sign + env: + GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY_2 }} - name: Get plugin metadata id: metadata diff --git a/package.json b/package.json index a748d45..01ac672 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "gcore-cdn-stats", - "version": "1.0.14", + "version": "1.0.15", "description": "", "scripts": { "build": "grafana-toolkit plugin:build", "test": "grafana-toolkit plugin:test", "dev": "grafana-toolkit plugin:dev", "watch": "grafana-toolkit plugin:dev --watch", - "sign": "grafana-toolkit plugin:sign", + "sign": "grafana-toolkit plugin:sign --rootUrls http://localhost:3000,http://localhost", "lint": "eslint . --ext .tsx,.ts", "lint:fix": "eslint . --ext .tsx,.ts --fix" },