A collection of GitHub action workflows. Built using the reusable workflows guide from GitHub.
Name | Required | Type | Default | Description |
---|---|---|---|---|
package-manager | ❌ | string | yarn | Node package manager to use |
is-yarn-classic | ❌ | boolean | false | When package-manager is yarn , this can be used to indicate that the project uses a pre-Berry version of Yarn, which changes what flags we can pass to the command |
skip-cache | ❌ | boolean | false | When package-manager is yarn , this can be used to indicate that we should use the --force flag to tell Yarn to ignore cache and fetch dependencies from the package repository |
build-command | ❌ | string | build | Command to override the build command |
test-command | ❌ | string | test | Command to override the test command |
lint-command | ❌ | string | lint | Command to override the lint command |
format-command | ❌ | string | format | Command to override the format command |
skip-build | ❌ | boolean | false | If the build step should be skipped |
skip-test | ❌ | boolean | false | If the test step should be skipped |
skip-lint | ❌ | boolean | false | If the lint step should be skipped |
skip-format | ❌ | boolean | false | If the format step should be skipped |
debug | ❌ | boolean | false | If debug flags should be set |
jobs:
test-s3-deploy:
uses: aligent/workflows/.github/workflows/node-pr.yml@main
with:
skip-format: false
Name | Required | Type | Default | Description |
---|---|---|---|---|
aws-access-key-id | ✅ | string | AWS Access Key | |
aws-secret-access-key | ✅ | string | AWS Secret Access Key | |
aws-profile | ✅ | string | AWS Profile | |
aws-region | ❌ | string | ap-southeast-2 | AWS Region to deploy to |
stage | ✅ | string | Stage to deploy to | |
command | ❌ | string | build | Command to run during the deploy step |
package-manager | ❌ | string | yarn | Node package manager to use |
build-command | ❌ | string | build | Command to override the build command |
debug | ❌ | boolean | false | If verbose logging should be enabled |
jobs:
deploy-serverless:
uses: aligent/workflows/.github/workflows/nx-serverless-deployment.yml@main
with:
aws-access-key-id: 123
aws-secret-access-key: 456
aws-profile: my-profile
stage: development
debug: true