Skip to content

comments, re-indents, etc (nothing substantitive) #30

comments, re-indents, etc (nothing substantitive)

comments, re-indents, etc (nothing substantitive) #30

Workflow file for this run

on: push
jobs:
lint:
runs-on: ubuntu-latest
container:
# https://github.com/internetarchive/dyno
image: ghcr.io/internetarchive/dyno:main
steps:
- uses: actions/checkout@v4
- run: /app/lint
test:
runs-on: ubuntu-latest
container:
# https://github.com/internetarchive/dyno
image: ghcr.io/internetarchive/dyno:main
steps:
- uses: actions/checkout@v4
- run: /app/test/test.sh
cicd:
uses: internetarchive/cicd/.github/workflows/cicd.yml@main
secrets:
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}
needs: [lint, test]
image-test:
runs-on: ubuntu-latest
needs: [cicd]
container:
# test using the just built-and-pushed docker image from the [cicd] job above
image: 'docker://ghcr.io/${{ github.repository }}:${{ github.ref_name }}'
steps:
- run: fgrep 'hello js' /app/index.js