chore(deps): update dependency lint-staged to v15.2.6 #264
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: Test Action | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "**" | |
# A pull request sent from a fork of the upstream repository could be manipulated to do harmful things. | |
# The upstream repository’s maintainer would have no protection against this attack, as pull requests | |
# can be sent by anyone who forks the repository on GitHub. | |
# This is why we don't run automated tests on every PR. | |
# pull_request: | |
# types: | |
# - opened | |
# - synchronize | |
# paths-ignore: | |
# - '*.md' | |
jobs: | |
skipci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- run: echo "[Skip CI] ${{ contains(github.event.head_commit.message, '[skip ci]') }}" | |
test: | |
runs-on: ${{ matrix.os }} | |
if: contains(github.event.head_commit.message, '[skip ci]') == false | |
strategy: | |
max-parallel: 1 | |
matrix: | |
os: | |
- "ubuntu-22.04" | |
- "macos-latest" | |
- "windows-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- run: npm ci | |
- name: Remove lint-staged husky | |
run: | | |
npm uninstall lint-staged husky | |
git checkout package-lock.json package.json | |
- run: npm run build | |
- name: Install specific Terragrunt version | |
uses: ./ | |
with: | |
terragrunt-version: 0.54.0 | |
- name: Validate specific version | |
run: terragrunt --version | |
- name: Install latest Terragrunt version | |
uses: ./ | |
with: | |
terragrunt-version: latest | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Validate latest | |
run: terragrunt --version | |
- name: Install Terragrunt with version file specified version | |
uses: ./ | |
with: | |
terragrunt-version-file: .terragrunt-version | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Validate version file specified version | |
run: terragrunt --version | |
- name: Install Terragrunt with version file latest | |
uses: ./ | |
with: | |
terragrunt-version-file: .terragrunt-version-latest | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Validate version file latest | |
run: terragrunt --version |