Skip to content

openspec: archive ci-validate-lockfile #15

openspec: archive ci-validate-lockfile

openspec: archive ci-validate-lockfile #15

Workflow file for this run

name: Release
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@v7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run bundle
- name: Version
id: version
run: |-
echo PLUGIN_VERSION="$(npm run --silent version)" >> "$GITHUB_OUTPUT"
git log $(git describe --tags --abbrev=0)..HEAD --oneline > changes.txt
- uses: ncipollo/release-action@v1
with:
artifactContentType: "application/zip"
artifactErrorsFailBuild: true
artifacts: "query-params-conditional-visibility.zip"
bodyFile: changes.txt
draft: true
omitDraftDuringUpdate: true
removeArtifacts: true
tag: "v${{ steps.version.outputs.PLUGIN_VERSION }}"
updateOnlyUnreleased: true