-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed apprentice-action to a composit reusable action (#74)
cleaned up Dockerfile and build.yaml since switching to composit action
- Loading branch information
Showing
3 changed files
with
10 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
name: Apprenticeship App Unit Tests | ||
description: Tests the behavior of the developed web app | ||
runs: | ||
using: docker | ||
image: docker://ghcr.io/liatrio/github-actions/apprentice-action:latest | ||
using: composite | ||
steps: | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
- run: cd $GITHUB_ACTION_PATH && npm install --production | ||
shell: bash | ||
- run: node $GITHUB_ACTION_PATH/index.js | ||
shell: bash |