Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

new version #9

Merged
merged 12 commits into from
Nov 14, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
.
eh-am committed Nov 14, 2022
commit a35fd4277d9b1eef07f81b7bb584c092e271bd58
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -18,9 +18,39 @@ jobs:
with:
node-version: "14.17"

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache yarn cache
uses: actions/cache@v2
id: cache-yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-node-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-node-modules-
- name: Pull dependencies
run: yarn

- run: yarn bin cypress install

- name: Cache Cypress Binary
id: cache-cypress-binary
uses: actions/cache@v2
with:
path: cypress/cache
key: cypress-binary-${{ hashFiles('yarn.lock') }}

- name: Sign plugin
run: yarn sign
env:
@@ -30,6 +60,7 @@ jobs:
# We already tested it extensively in the other repository
- name: Run grafana server
run: docker-compose -f docker-compose.yml up -d

- name: Run tests
run: yarn cy:ci
env: