Skip to content

fix: upgrade @amplitude/experiment-node-server from 1.7.8 to 1.8.2 (#… #260

fix: upgrade @amplitude/experiment-node-server from 1.7.8 to 1.8.2 (#…

fix: upgrade @amplitude/experiment-node-server from 1.7.8 to 1.8.2 (#… #260

name: Build and Release "Preview"
on:
push:
branches:
- main
jobs:
build:
uses: snyk/vscode-extension/.github/workflows/ci.yaml@main

Check failure on line 8 in .github/workflows/release-preview.yaml

View workflow run for this annotation

GitHub Actions / Build and Release "Preview"

Invalid workflow file

The workflow is not valid. .github/workflows/release-preview.yaml (Line: 8, Col: 11): Secret ITERATIVELY_KEY is required, but not provided while calling.
release-preview:
name: Release Preview
runs-on: ubuntu-latest
environment: Preview
needs: build
steps:
- name: Setup VSCE
run: npm install -g vsce@latest
- name: Fetch sources
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
# Naming convention for the preview version means we can only release one preview per hour
- name: Patch to preview version
run: npm run patch-preview
env:
SNYK_VSCE_AMPLITUDE_EXPERIMENT_API_KEY: ${{ secrets.SNYK_VSCE_AMPLITUDE_EXPERIMENT_API_KEY }}
SNYK_VSCE_SENTRY_DSN_KEY: ${{ secrets.SNYK_VSCE_SENTRY_DSN_KEY }}
- name: Publish to Marketplace
run: vsce publish -p ${{ secrets.MARKETPLACE_TOKEN }}