Skip to content
This repository was archived by the owner on May 4, 2026. It is now read-only.

Commit 98fe805

Browse files
authored
ci: release please (#16)
1 parent 98f5085 commit 98fe805

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
release:
13+
name: release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: google-github-actions/release-please-action@v3
17+
id: release
18+
with:
19+
release-type: node
20+
package-name: elixir-tools
21+
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
if: ${{ steps.release.outputs.release_created }}
25+
26+
27+
- name: Install Node.js
28+
uses: actions/setup-node@v3
29+
if: ${{ steps.release.outputs.release_created }}
30+
with:
31+
node-version: 16.x
32+
cache: 'yarn'
33+
- run: yarn install --immutable
34+
35+
- name: publish to marketplace
36+
if: ${{ steps.release.outputs.release_created }}
37+
env:
38+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
39+
run: npx vsce publish

0 commit comments

Comments
 (0)