Skip to content

Commit

Permalink
feature/github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
choewy committed Jun 18, 2023
1 parent 8f62fd7 commit 0489a03
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Test

on:
pull_request:
push:
branches:
- master

env:
compose-file: ./aws-docker/docker-compose.yml

jobs:
test:
name: Run Test
runs-on: ubuntu-22.04

strategy:
matrix:
node-version: ['16.x']

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm ci

- name: Run Docker Compose
uses: isbang/compose-action@v1.4.1
with:
compose-file: ${{ compose-file }}

- name: Testing
run: npm run test

0 comments on commit 0489a03

Please sign in to comment.