Skip to content

Commit

Permalink
Add Github workflow for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Oct 12, 2023
1 parent 8df5812 commit 95b2e13
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "CI"

on: [push, pull_request]

jobs:
lint:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: latest
- run: npm ci
- run: npm run lint
- run: npm run format -- --check
- run: npm run compile

build:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: latest
- name: Install gnome-shell
run: |
sudo apt-get update -qq
sudo apt-get install --no-install-recommends -qq -y gnome-shell
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v3
with:
path: [email protected]

0 comments on commit 95b2e13

Please sign in to comment.