We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a023a61 commit f84fd16Copy full SHA for f84fd16
.github/workflows/packages.yml
@@ -5,6 +5,11 @@ on:
5
tags:
6
- "v*" # only run when a new package version is tagged
7
workflow_dispatch:
8
+ inputs:
9
+ ignoreNpmErrors:
10
+ description: 'Whether to continue the workflow if the npm package publish fails or not. Useful when the npm package already exists.'
11
+ required: false
12
+ default: false
13
14
jobs:
15
build-ubuntu:
@@ -28,6 +33,7 @@ jobs:
28
33
run: npm ci
29
34
30
35
- name: Build and push package to npm
36
+ continue-on-error: ${{ inputs.ignoreNpmErrors }}
31
37
env:
32
38
FIGMA_ACCESS_TOKEN: ${{ secrets.FIGMA_ACCESS_TOKEN }}
39
NODE_AUTH_TOKEN: ${{ secrets.NPM_API_KEY }}
0 commit comments