Skip to content

Commit

Permalink
fix: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Jun 21, 2022
1 parent 44317a4 commit fbc0fd6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches:
- main
- next
repository_dispatch:
types:
- semantic-release


jobs:
test:
Expand Down Expand Up @@ -45,16 +49,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- run: npm ci --prefer-offline
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
id: semantic # Need an `id` for output variables
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

upload-coverage:
Expand Down
11 changes: 0 additions & 11 deletions custom-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,17 +317,6 @@
"attribute": "invalid",
"reflects": true
},
{
"kind": "field",
"name": "locale",
"type": {
"text": "Stripe.StripeElementLocale"
},
"default": "auto",
"description": "Stripe locale to use (use browser locale by default)",
"attribute": "locale",
"reflects": true
},
{
"kind": "method",
"name": "createPaymentMethod",
Expand Down

0 comments on commit fbc0fd6

Please sign in to comment.