Skip to content

Commit

Permalink
Merge pull request #2 from systemli/Add-GitHub-Actions
Browse files Browse the repository at this point in the history
Add GitHub Actions
  • Loading branch information
0x46616c6b authored Dec 31, 2023
2 parents fbcc14c + 932686b commit d602fa7
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Integration

on:
pull_request:
push:
branches:
- main

jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected]

- name: Setup Node
uses: actions/[email protected]
with:
node-version: 'lts/*'
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Test
run: npm test

build:
name: Build
runs-on: ubuntu-22.04
needs: test
steps:
- name: Checkout
uses: actions/[email protected]

- name: Setup Node
uses: actions/[email protected]
with:
node-version: 'lts/*'
cache: 'npm'

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build

0 comments on commit d602fa7

Please sign in to comment.