Skip to content

GitHub Actions for building and testing static site projects

License

Notifications You must be signed in to change notification settings

ghacts/static-site

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Static Site Action

Test

Description

GitHub Actions for building and testing static site projects

Inputs

parameter description required default
project-path The path to the project to check false
is-sub-path Whether the project is a sub-path false false
package-manager The package manager which is used to manager dependencies false pnpm
package-manager-version The version of package manager to use false latest
lock-file The lock file which is used to manage dependencies false pnpm-lock.yaml
node-version The version of Node.js to use false latest
lint-script The script name to lint code false lint
build-script The script name to build the project false build
test-script The script name to run test cases false test
skip-lint Skip the lint step false false
skip-build Skip the build step false false
skip-test Skip the test step false false
artifact-name The name of the artifact to upload false dist
output-dir The path to the output directory false dist/

Contact

Le Minh Tri @ansidev.

License

This source code is available under the MIT LICENSE.

About

GitHub Actions for building and testing static site projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published