Skip to content

Commit 8f33eed

Browse files
Copilotsonnyp
andcommitted
Add Deno to CI pipeline
Co-authored-by: sonnyp <[email protected]>
1 parent 8e8a9d3 commit 8f33eed

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/CI.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,33 @@ jobs:
3535
- name: The job has failed
3636
if: ${{ failure() }}
3737
run: cat server/prosody.err
38+
39+
test-deno:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v5
43+
44+
- name: Setup Deno
45+
uses: denoland/setup-deno@v2
46+
with:
47+
deno-version: v2.x
48+
49+
- name: Use Node.js 22
50+
uses: actions/setup-node@v6
51+
with:
52+
node-version: 22
53+
cache: "npm"
54+
55+
- name: Install prosody
56+
run: |
57+
sudo wget https://prosody.im/downloads/repos/$(lsb_release -sc)/prosody.sources -O/etc/apt/sources.list.d/prosody.sources
58+
sudo apt update -y
59+
sudo apt install -y lua5.3 liblua5.3-dev prosody lua-bitop lua-sec luarocks
60+
sudo systemctl stop prosody
61+
62+
- run: make
63+
- run: make ci
64+
65+
- name: The job has failed
66+
if: ${{ failure() }}
67+
run: cat server/prosody.err

0 commit comments

Comments
 (0)