Skip to content

Bump qs from 6.14.0 to 6.14.1 #6

Bump qs from 6.14.0 to 6.14.1

Bump qs from 6.14.0 to 6.14.1 #6

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 32, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GRAFANA_ACCESS_POLICY_TOKEN != ''
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run test:ci
- run: npm run lint
- run: npm run typecheck
- run: npm run build
- name: Sign plugin
if: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN != '' }}
env:
GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}
run: npm run sign
- run: npm run package
- name: Get plugin metadata
id: metadata
run: |
echo "version=$(node -p "require('./src/plugin.json').info.version")" >> $GITHUB_OUTPUT
echo "id=$(node -p "require('./src/plugin.json').id")" >> $GITHUB_OUTPUT
echo "name=$(node -p "require('./src/plugin.json').name")" >> $GITHUB_OUTPUT
- uses: softprops/action-gh-release@v1
with:
name: Release ${{ github.ref_name }}
generate_release_notes: true
files: |
cybertec-pev-panel.zip
dist/MANIFEST.txt
- uses: actions/upload-artifact@v4
with:
name: plugin-artifacts-${{ github.ref_name }}
path: |
cybertec-pev-panel.zip
dist/**/*
retention-days: 90