Skip to content

Commit e9a1e9f

Browse files
committed
feat: added vimdoc/release-please/tests
1 parent 02e322f commit e9a1e9f

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/ci.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI
2+
on:
3+
push:
4+
pull_request:
5+
6+
jobs:
7+
tests:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: Install Neovim
12+
run: |
13+
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb -O /tmp/nvim.deb
14+
sudo dpkg -i /tmp/nvim.deb
15+
- name: Run Tests
16+
run: |
17+
nvim --version
18+
./tests/run
19+
docs:
20+
runs-on: ubuntu-latest
21+
needs: tests
22+
if: ${{ github.ref == 'refs/heads/main' }}
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: panvimdoc
26+
uses: kdheepak/panvimdoc@main
27+
with:
28+
vimdoc: lazy.nvim
29+
demojify: true
30+
- name: Push changes
31+
uses: stefanzweifel/git-auto-commit-action@v4
32+
with:
33+
commit_message: "chore(build): auto-generate vimdoc"
34+
commit_user_name: "github-actions[bot]"
35+
commit_user_email: "github-actions[bot]@users.noreply.github.com"
36+
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
37+
release:
38+
name: release
39+
if: ${{ github.ref == 'refs/heads/main' }}
40+
needs:
41+
- docs
42+
- tests
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: google-github-actions/release-please-action@v3
46+
with:
47+
release-type: node
48+
package-name: release-please-action

0 commit comments

Comments
 (0)