Update Dockerfile #88
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_Push_Testing | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.1.0 | |
- run: npm install | |
# - run: npm run build | |
- name: Verify that the Docker image for the action builds | |
run: docker build . --file Dockerfile | |
- name: Bump version and push tag | |
uses: anothrNick/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WITH_V: true | |
DEFAULT_BUMP: patch | |
- name: change latest tag | |
uses: EndBug/latest-tag@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
# You can change the name of the tag or branch with this input. | |
# Default: 'latest' | |
ref: 'latest' | |
# If a description is provided, the action will use it to create an annotated tag. If none is given, the action will create a lightweight tag. | |
# Default: '' | |
description: 'latest version of the rocrate-to-html.' | |
# Force-update a branch instead of using a tag. | |
# Default: false | |
force-branch: false |