Skip to content

Bump @typescript-eslint/eslint-plugin from 6.2.1 to 6.7.3 in /functions #287

Bump @typescript-eslint/eslint-plugin from 6.2.1 to 6.7.3 in /functions

Bump @typescript-eslint/eslint-plugin from 6.2.1 to 6.7.3 in /functions #287

Workflow file for this run

name: "Test Pull Request"
on:
pull_request:
branches:
- "main"
concurrency:
group: pr-pipeline
cancel-in-progress: true
permissions:
pull-requests: write
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v3
- name: Lint Functions
run: |
cd functions
npm ci
npm run lint
- name: Lint Postman
run: |
cd postman
npm ci
npm run lint
- name: "Build Functions"
run: |
cd functions
npm run build
- name: Build Postman
run: |
cd postman
npm run build
- name: Install Firebase
run: |
cd utils
chmod +x firebase-version.sh
export FIREBASE_VERSION="$(./firebase-version.sh)"
echo "Firebase version: $FIREBASE_VERSION"
npm install -g firebase-tools@$FIREBASE_VERSION
echo "Verify installed Firebase:"
firebase --version
- name: Start Firebase Emulator
run: |
firebase emulators:start &
- name: Wait for Firebase Emulator
run: |
chmod +x utils/wait.sh
./utils/wait.sh
- name: Test
run: |
cd postman
npm run test
auto-merge:
needs: test
name: Auto Merge
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.GITHUB_TOKEN }}
# auto-merge:
# needs: test
# name: Auto Merge
# runs-on: ubuntu-latest
# if: ${{ github.actor == 'dependabot[bot]' }}
# steps:
# - name: Dependabot metadata
# id: dependabot-metadata
# uses: dependabot/[email protected]
# with:
# github-token: "${{ secrets.GITHUB_TOKEN }}"
# - name: Approve PR
# run: gh pr review --approve "$PR_URL"
# env:
# PR_URL: ${{ github.event.pull_request.html_url }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Merge PR
# run: gh pr merge --auto --squash "$PR_URL"
# env:
# PR_URL: ${{ github.event.pull_request.html_url }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}