[RND-649] Add lerna version update process into GitHub Action #57
Workflow file for this run
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
name: On Pull Request - Dockerfile | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "Meadowlark-js/Dockerfile" | |
- ".github/workflows/on-pullrequest-dockerfile.yml" | |
- "docker/*" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "Meadowlark-js/Dockerfile" | |
- ".github/workflows/on-pullrequest-dockerfile.yml" | |
- "docker/*" | |
workflow_dispatch: | |
jobs: | |
docker-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0 | |
name: Run Linter on Local Dockerfile | |
with: | |
dockerfile: Meadowlark-js/Dockerfile | |
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0 | |
name: Run Linter on NPM Dockerfile | |
with: | |
dockerfile: docker/Dockerfile | |
- name: Build the NPM Docker image | |
# To confirm no errors occur. The "local" one will be built by the e2e | |
# testing process. | |
run: docker build --build-arg ML_VERSION=latest . | |
working-directory: docker |