build(deps-dev): bump @typescript-eslint/parser from 7.11.0 to 7.18.0 #457
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: | |
branches: | |
- main | |
- "releases/*" | |
workflow_dispatch: | |
jobs: | |
build: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .node-version | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: true | |
- name: Rebuild the dist/ directory | |
run: | | |
export NODE_OPTIONS="--max_old_space_size=4096" | |
pnpm run all | |
test-simple-spec: # make sure the action works on a clean machine without building | |
if: startsWith(github.head_ref, 'auto-update') == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Create Autocomplete PR" | |
id: simple-spec | |
uses: ./ | |
with: | |
token: ${{ secrets.FIG_BOT_TOKEN }} | |
autocomplete-spec-name: __integration-tests__/simple-spec/cli | |
spec-path: src/__integration-tests__/simple-spec/new-cli.ts | |
integration: commander | |
repo-name: push-to-fig-autocomplete-action | |
repo-org: withfig | |
pr-body: "Integration test (simple-spec)" | |
diff-based-versioning: false | |
- name: Close Pull | |
run: gh pr close --comment "Closing created PR" --delete-branch ${{ steps.simple-spec.outputs.pr-number }} | |
env: | |
GH_TOKEN: ${{ secrets.FIG_BOT_TOKEN }} | |
test-diff-based-versioning: | |
if: startsWith(github.head_ref, 'auto-update') == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Create Autocomplete PR" | |
id: diff-based-versioning | |
uses: ./ | |
with: | |
token: ${{ secrets.FIG_BOT_TOKEN }} | |
autocomplete-spec-name: __integration-tests__/diff-based-versioning/cli | |
spec-path: src/__integration-tests__/diff-based-versioning/new-cli.ts | |
integration: commander | |
repo-name: push-to-fig-autocomplete-action | |
repo-org: withfig | |
pr-body: "Integration test (diff-based-versioning)" | |
diff-based-versioning: true | |
new-spec-version: 1.1.0 | |
- name: Close Pull | |
run: gh pr close --comment "Closing created PR" --delete-branch ${{ steps.diff-based-versioning.outputs.pr-number }} | |
env: | |
GH_TOKEN: ${{ secrets.FIG_BOT_TOKEN }} | |
test-spec-folder: | |
if: startsWith(github.head_ref, 'auto-update') == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Create Autocomplete PR" | |
id: spec-folder | |
uses: ./ | |
with: | |
token: ${{ secrets.FIG_BOT_TOKEN }} | |
autocomplete-spec-name: __integration-tests__/spec-folder/cli | |
spec-path: src/__integration-tests__/spec-folder/new-cli.ts | |
spec-folder-path: src/__integration-tests__/spec-folder/new-cli | |
repo-name: push-to-fig-autocomplete-action | |
repo-org: withfig | |
pr-body: "Integration test (spec-folder)" | |
- name: Close Pull | |
run: gh pr close --comment "Closing created PR" --delete-branch ${{ steps.spec-folder.outputs.pr-number }} | |
env: | |
GH_TOKEN: ${{ secrets.FIG_BOT_TOKEN }} |