Update dependency eslint to v8.51.0 #347
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: Action | |
"on": | |
push: | |
jobs: | |
# The repository contains the action itself in the dist/ directory. Whenever | |
# code is pushed to the repository, we need to make sure that the action has | |
# been rebuilt and is up-to-date. | |
lint: | |
name: Lint code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/[email protected] | |
with: | |
cache: npm | |
node-version: 16 | |
- name: Install dependencies | |
run: npm install | |
- name: Build action | |
run: npm run package | |
- name: Compare committed action with build result | |
run: | | |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then | |
echo "Detected uncommitted changes after build. See diff below:" | |
git diff | |
exit 1 | |
fi | |
test: | |
name: Run tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run action | |
uses: ./ | |
- name: Run butler | |
run: butler -V |