Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Jun 5, 2024
1 parent 371ccf0 commit 254ad2f
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 20 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install dependencies
run: npm i

- name: Lint
run: npm run lint

- name: Build
run: npm run compile
28 changes: 28 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Release
on:
release:
types:
- published

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install dependencies
run: npm i

- name: Install vsce and ovsx
run: npm i -g vsce ovsx

- name: Publish for VS Code
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}

- name: Publish for VS Codium
run: ovsx publish -p ${{ secrets.OVSX_TOKEN }}
20 changes: 0 additions & 20 deletions CHANGELOG.md

This file was deleted.

0 comments on commit 254ad2f

Please sign in to comment.