Skip to content

Commit

Permalink
ci: add general CI GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonianb committed Feb 27, 2024
1 parent e2edf1d commit 397d2ba
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
cache: npm
cache-dependency-path: package-lock.json

- name: Install dependencies
run: npm ci

- name: Run CI script
run: npm run ci

0 comments on commit 397d2ba

Please sign in to comment.