From af87070bb8159b66c99752ddb1c148179a449588 Mon Sep 17 00:00:00 2001 From: Jonathan Edey Date: Tue, 19 Dec 2023 10:22:30 -0500 Subject: [PATCH 1/2] Lock firebase-tools to v13 and bump actions to use Node 20. --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6612efe55..14b17e226 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: python: ['3.7', '3.8', '3.9', '3.10', 'pypy3.8'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v4 with: @@ -22,19 +22,19 @@ jobs: pip install -r requirements.txt - name: Test with pytest run: pytest - - name: Set up Node.js 16 - uses: actions/setup-node@v1 + - name: Set up Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20 - name: Run integration tests against emulator run: | - npm install -g firebase-tools + npm install -g firebase-tools@13.x firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py' lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.7 uses: actions/setup-python@v4 with: From 4a7e896e518c505f5a779407d2448bd3d30d83df Mon Sep 17 00:00:00 2001 From: Jonathan Edey Date: Tue, 19 Dec 2023 12:07:07 -0500 Subject: [PATCH 2/2] set firebase-tools to latest --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14b17e226..4829256eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: node-version: 20 - name: Run integration tests against emulator run: | - npm install -g firebase-tools@13.x + npm install -g firebase-tools firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py' lint: