Skip to content

Commit

Permalink
Add continuous release
Browse files Browse the repository at this point in the history
  • Loading branch information
dit7ya committed Sep 21, 2024
1 parent 87538d6 commit 5796744
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/continuous-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish Every Commit
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- run: pnpx pkg-pr-new publish
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"type": "git",
"url": "https://github.com/tenzir/vscode-tql"
},
"files": [
"syntaxes/*.json",
"language-configuration.json"
],
"engines": {
"vscode": "^1.84.0"
},
Expand Down

0 comments on commit 5796744

Please sign in to comment.