Skip to content

Commit

Permalink
service
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel committed Mar 22, 2024
1 parent d29e7b4 commit 8d7f1b7
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/frontend-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,19 @@ env:
jobs:
build-and-test:
runs-on: ubuntu-latest

services:
fuel-core:
image: ghcr.io/fuellabs/sway-playground
ports:
- 8080:8080
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
ghcr.io/fuellabs/sway-playground
tags: |
type=ref,event=branch
type=sha,prefix=
type=semver,pattern={{raw}}
- uses: actions/checkout@v2
- name: npm ci and build
env:
CI: true
run: |
cd app && npm ci && npm run build
cp -r build ../build
- run: echo ${{ toJson(steps.meta.outputs) }}
- uses: addnab/docker-run-action@v3
with:
image: ${{ steps.meta.outputs.tags }}
- name: npm test
run: |
cd app && npm run test

0 comments on commit 8d7f1b7

Please sign in to comment.