@@ -19,19 +19,19 @@ jobs:
1919 name : Build
2020 steps :
2121 - name : Checkout
22- uses : actions/checkout@v3
22+ uses : actions/checkout@v4
2323 - name : Setup node
24- uses : actions/setup-node@v3
24+ uses : actions/setup-node@v4
2525 with :
26- node-version : ' 18 '
26+ node-version : ' 24 '
2727 cache : ' npm'
2828 - name : Install deps
2929 run : npm ci
3030 - name : Build
3131 id : pack-dir
3232 run : ./build.sh
3333 - name : ' Upload Artifact'
34- uses : actions/upload-artifact@v3
34+ uses : actions/upload-artifact@v4
3535 with :
3636 name : reactfire-${{ github.run_id }}
3737 path : |
@@ -44,30 +44,35 @@ jobs:
4444 needs : build
4545 strategy :
4646 matrix :
47- node : ["18 ", "20 "]
47+ node : ["22 ", "24 "]
4848 fail-fast : false
4949 name : Test Node.js ${{ matrix.node }} (Ubuntu)
5050 steps :
5151 - name : Checkout
52- uses : actions/checkout@v3
52+ uses : actions/checkout@v4
5353 - name : Setup node
54- uses : actions/setup-node@v3
54+ uses : actions/setup-node@v4
5555 with :
5656 node-version : ${{ matrix.node }}
5757 check-latest : true
5858 cache : ' npm'
5959 - name : Install deps
6060 run : npm ci
61+ - name : Setup Java
62+ uses : actions/setup-java@v4
63+ with :
64+ distribution : ' temurin'
65+ java-version : ' 21'
6166 - name : Install deps for functions
6267 run : npm install
6368 working-directory : ./functions
6469 - name : Firebase emulator cache
65- uses : actions/cache@v3
70+ uses : actions/cache@v4
6671 with :
6772 path : ~/.cache/firebase/emulators
6873 key : firebase_emulators
6974 - name : ' Download Artifacts'
70- uses : actions/download-artifact@v3
75+ uses : actions/download-artifact@v4
7176 - name : Expand Artifact
7277 run : |
7378 chmod +x reactfire-${{ github.run_id }}/unpack.sh
@@ -81,12 +86,12 @@ jobs:
8186 if : ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
8287 steps :
8388 - name : Setup node
84- uses : actions/setup-node@v3
89+ uses : actions/setup-node@v4
8590 with :
86- node-version : ' 18 '
91+ node-version : ' 24 '
8792 registry-url : ' https://registry.npmjs.org'
8893 - name : ' Download Artifacts'
89- uses : actions/download-artifact@v3
94+ uses : actions/download-artifact@v4
9095 - name : Publish
9196 run : |
9297 cd ./reactfire-${{ github.run_id }}/
0 commit comments