Skip to content

Commit 8d9eb3b

Browse files
committed
Update workflows
1 parent 9598137 commit 8d9eb3b

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js environment
1818
uses: actions/setup-node@v2.1.2
1919
with:
20-
node-version: '12.x'
20+
node-version: '14.x'
2121

2222
- name: Get yarn cache directory path
2323
id: yarn-cache-dir-path
@@ -59,7 +59,7 @@ jobs:
5959
if: steps.check-for-backend.outputs.has-backend == 'true'
6060
uses: actions/setup-go@v2
6161
with:
62-
go-version: '1.14'
62+
go-version: '1.15'
6363

6464
- name: Test backend
6565
if: steps.check-for-backend.outputs.has-backend == 'true'

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
- name: Setup Node.js environment
1616
uses: actions/setup-node@v2.1.2
1717
with:
18-
node-version: '12.x'
18+
node-version: '14.x'
1919

2020
- name: Setup Go environment
2121
uses: actions/setup-go@v2
2222
with:
23-
go-version: '1.14'
23+
go-version: '1.15'
2424

2525
- name: Get yarn cache directory path
2626
id: yarn-cache-dir-path
@@ -76,7 +76,7 @@ jobs:
7676
args: buildAll
7777

7878
- name: Sign plugin
79-
run: yarn run grafana-toolkit plugin:sign
79+
run: yarn sign
8080
env:
8181
GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }} # Requires a Grafana API key from Grafana.com.
8282

@@ -159,6 +159,6 @@ jobs:
159159

160160
- name: Publish to Grafana.com
161161
run: |
162-
echo Publish your plugin to grafana.com/plugins by opening a PR to https://github.com/grafana/grafana-plugin-repository with the following entry:
162+
echo A draft release has been created for your plugin. Please review and publish it. Then submit your plugin to grafana.com/plugins by opening a PR to https://github.com/grafana/grafana-plugin-repository with the following entry:
163163
echo
164-
echo '{ "id": "${{ steps.metadata.outputs.plugin-id }}", "type": "${{ steps.metadata.outputs.plugin-type }}", "url": "https://github.com/${{ github.repository }}", "versions": [ { "version": "${{ steps.metadata.outputs.plugin-version }}", "commit": "${{ github.sha }}", "url": "https://github.com/${{ github.repository }}", "download": { "any": { "url": "${{ steps.upload-plugin-asset.outputs.browser_download_url }}", "md5": "${{ steps.package-plugin.outputs.checksum }}" } } } ] }' | jq .
164+
echo '{ "id": "${{ steps.metadata.outputs.plugin-id }}", "type": "${{ steps.metadata.outputs.plugin-type }}", "url": "https://github.com/${{ github.repository }}", "versions": [ { "version": "${{ steps.metadata.outputs.plugin-version }}", "commit": "${{ github.sha }}", "url": "https://github.com/${{ github.repository }}", "download": { "any": { "url": "https://github.com/${{ github.repository }}/releases/download/v${{ steps.metadata.outputs.plugin-version }}/${{ steps.metadata.outputs.archive }}", "md5": "${{ steps.package-plugin.outputs.checksum }}" } } } ] }' | jq .

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"build": "grafana-toolkit plugin:build",
77
"test": "grafana-toolkit plugin:test",
88
"dev": "grafana-toolkit plugin:dev",
9-
"watch": "grafana-toolkit plugin:dev --watch"
9+
"watch": "grafana-toolkit plugin:dev --watch",
10+
"sign": "grafana-toolkit plugin:sign"
1011
},
1112
"author": "Marcus Olsson",
1213
"license": "Apache-2.0",
@@ -24,7 +25,7 @@
2425
"react-virtualized-auto-sizer": "^1.0.4"
2526
},
2627
"engines": {
27-
"node": ">=12 <13"
28+
"node": ">=14"
2829
},
2930
"dependencies": {
3031
"date-fns": "^2.16.1",

0 commit comments

Comments
 (0)