Bump @typescript-eslint/eslint-plugin from 8.13.0 to 8.14.0 #2473
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: 'build-test' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
tags: | |
- 'v[0-9]*' | |
branches: | |
- main | |
- 'v[0-9]*' | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npm run format && git diff-files | |
- run: npm run test | |
- run: npm run package | |
- name: Verify that `dist/index.js` is up to date | |
shell: bash | |
run: | | |
# `ncc` produces output with mixed line endings | |
test -z "$(git diff -aw HEAD -- ':(exclude)dist/index.js.map' | tee diff.txt)" || { | |
echo 'Files changed after `npm run package`' | |
cat diff.txt | |
exit 1 | |
} | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: diff.txt | |
path: diff.txt | |
test: # make sure the action works on a clean machine without building | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run this Action in-place | |
uses: ./ | |
- name: Verify that the Bash of Git for Windows' SDK is used | |
shell: bash | |
run: | | |
set -ex | |
test ! -e .tmp | |
echo "This is the MSYS2 pseudo root: $(cygpath -aw /)" | |
test "gcc is /mingw64/bin/gcc" = "$(type gcc)" | |
test "prove is /usr/bin/core_perl/prove" = "$(type prove)" | |
prove -V | |
printf '%s\n' \ | |
"#include <stdio.h>" \ | |
'' \ | |
'int main()' \ | |
'{' \ | |
' printf("Hello, world!\n");' \ | |
' return 0;' \ | |
'}' >hello-world.c | |
gcc -o hello-world.exe hello-world.c | |
hello="$(./hello-world.exe)" | |
test 'Hello, world!' = "$hello" | |
# Verify that the locale is set, enabling `grep -P` to work | |
test 123 = "$(printf '1248\n123\n' | grep -P '2(?!4)')" | |
# Verify that /dev/fd/<pid> works | |
test hello = "$(cat <(echo hello))" |