Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/detect-breaking-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn install
run: yarn install --immutable
- name: Build plugin
run: yarn build
- name: Compatibility check
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ on:
required: true
type: choice
options:
- "dev"
- "ops"
- "prod"
- 'dev'
- 'ops'
- 'prod'
docs-only:
description: Only publish docs, do not publish the plugin
default: false
Expand All @@ -25,7 +25,7 @@ permissions: {}
jobs:
cd:
name: CD
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@main # zizmor: ignore[unpinned-uses]
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v3
permissions:
contents: write
id-token: write
Expand All @@ -39,11 +39,11 @@ jobs:
ACCESS_KEY=e2e:accessKey
SECRET_KEY=e2e:secretKey
github-draft-release: false # publish the github release directly, skipping the draft

# Scope for the plugin published to the catalog. Setting this to "grafana_cloud" will make it visible only in Grafana Cloud
# (and hide it for on-prem). This is required for some provisioned plugins.
# scopes: grafana_cloud

# Also deploy the plugin to Grafana Cloud via Argo. You also have to follow the Argo Workflows setup guide for this to work.
# grafana-cloud-deployment-type: provisioned
# argo-workflow-slack-channel: "#grafana-plugins-platform-ci"
# argo-workflow-slack-channel: "#grafana-plugins-platform-ci"
4 changes: 2 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: {}
jobs:
ci:
name: CI
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@main # zizmor: ignore[unpinned-uses]
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v3
permissions:
contents: read
id-token: write
Expand All @@ -20,4 +20,4 @@ jobs:
golangci-lint-version: '2.1.6'
playwright-secrets: |
ACCESS_KEY=e2e:accessKey
SECRET_KEY=e2e:secretKey
SECRET_KEY=e2e:secretKey
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.10.3.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.10.3.cjs

npmMinimalAgeGate: 10080 # 7 days in minutes
npmPreapprovedPackages:
- '@grafana/*'
5 changes: 4 additions & 1 deletion cspell.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"ignorePaths": [
".github/**",
".yarn/**",
"node_modules/**",
"dist/**",
"playwright*/**",
Expand Down Expand Up @@ -119,6 +120,8 @@
"secretsmanagertypes",
"awsauth",
"tibdex",
"automerged"
"automerged",
"npmPreapprovedPackages",
"wojtekmaj"
]
}
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
// force timezone to UTC to allow tests to work regardless of local timezone
// generally used by snapshots, but can affect specific tests
process.env.TZ = 'UTC';
const { grafanaESModules, nodeModulesToTransform } = require('./.config/jest/utils');

const esModules = ['@wojtekmaj/date-utils', 'get-user-locale', 'marked', 'memoize', 'mimic-function', 'react-calendar'];

module.exports = {
// Jest configuration provided by Grafana scaffolding
...require('./.config/jest.config'),
// Inform Jest to only transform specific node_module packages.
transformIgnorePatterns: [nodeModulesToTransform([...grafanaESModules, ...esModules])],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@
"engines": {
"node": ">=20"
},
"packageManager": "yarn@1.22.19"
"packageManager": "yarn@4.10.3"
}
Loading