Skip to content

Commit da224a6

Browse files
authored
Merge pull request #92 from grafana/release-test-aaa-
Auto: Another release test
2 parents ea02b8d + 0f65287 commit da224a6

File tree

5 files changed

+36
-18
lines changed

5 files changed

+36
-18
lines changed

.github/workflows/build-and-test.yml renamed to .github/workflows/node-ci.yml

+27-13
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
name: CI Tests
1+
name: Node CI
22

3-
on:
4-
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
3+
on: [push]
84

95
jobs:
10-
build-and-test:
11-
name: Build and test
6+
test:
7+
name: Run tests
128
runs-on: ubuntu-latest
139
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
1410
steps:
1511
- uses: actions/checkout@v3
1612

17-
- name: Prepare repository
18-
run: git fetch --unshallow --tags
19-
2013
- name: Test using Node.js
2114
uses: actions/setup-node@v3
2215
with:
@@ -35,11 +28,32 @@ jobs:
3528
- name: Build library
3629
run: lerna run build
3730

31+
release:
32+
name: Release
33+
runs-on: ubuntu-latest
34+
needs: test
35+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
36+
steps:
37+
- uses: actions/checkout@v3
38+
39+
- name: Prepare repository
40+
run: git fetch --unshallow --tags
41+
42+
- name: Test using Node.js
43+
uses: actions/setup-node@v3
44+
with:
45+
node-version: '16'
46+
cache: 'yarn'
47+
48+
- name: Install dependencies
49+
run: yarn
50+
3851
- name: Build library
3952
run: lerna run build
4053

4154
- name: Run auto shipit
42-
run: yarn auto shipit --base-branch main
55+
run: yarn auto shipit
4356
env:
57+
GITHUB_TOKEN: ${{ secrets.GH_BOT_ACCESS_TOKEN }}
58+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4459
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
45-
GH_TOKEN: ${{ secrets.GH_TOKEN }}

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"license": "AGPL-3.0-only",
44
"private": true,
55
"name": "grafana-scenes",
6-
"version": "0.0.23",
6+
"version": "0.0.24",
77
"description": "Grafana framework for building dynamic dashboards",
88
"keywords": [
99
"typescript"
@@ -48,6 +48,10 @@
4848
"plugins": [
4949
"npm"
5050
],
51+
"author": {
52+
"name": "grafanabot",
53+
"email": "[email protected]"
54+
},
5155
"onlyPublishWithReleaseLabel": true
5256
}
5357
}

packages/scenes-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@emotion/css": "^11.1.3",
6363
"@grafana/data": "canary",
6464
"@grafana/runtime": "canary",
65-
"@grafana/scenes": "^0.0.23",
65+
"@grafana/scenes": "^0.0.24",
6666
"@grafana/schema": "canary",
6767
"@grafana/ui": "canary",
6868
"@types/lodash": "latest",

packages/scenes/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grafana/scenes",
3-
"version": "0.0.23",
3+
"version": "0.0.24",
44
"description": "Grafana framework for building dynamic dashboards",
55
"author": "Grafana Labs",
66
"license": "AGPL-3.0-only",

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -2118,7 +2118,7 @@ __metadata:
21182118
languageName: node
21192119
linkType: hard
21202120

2121-
"@grafana/scenes@^0.0.23, @grafana/scenes@workspace:packages/scenes":
2121+
"@grafana/scenes@^0.0.24, @grafana/scenes@workspace:packages/scenes":
21222122
version: 0.0.0-use.local
21232123
resolution: "@grafana/scenes@workspace:packages/scenes"
21242124
dependencies:
@@ -18127,7 +18127,7 @@ __metadata:
1812718127
"@grafana/e2e-selectors": 9.2.1
1812818128
"@grafana/eslint-config": 5.0.0
1812918129
"@grafana/runtime": canary
18130-
"@grafana/scenes": ^0.0.23
18130+
"@grafana/scenes": ^0.0.24
1813118131
"@grafana/schema": canary
1813218132
"@grafana/tsconfig": 1.2.0-rc1
1813318133
"@grafana/ui": canary

0 commit comments

Comments
 (0)