@@ -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 : ' 20 '
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,14 +44,14 @@ jobs:
4444 needs : build
4545 strategy :
4646 matrix :
47- node : ["18", " 20"]
47+ node : ["20"]
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
@@ -62,12 +62,12 @@ jobs:
6262 run : npm install
6363 working-directory : ./functions
6464 - name : Firebase emulator cache
65- uses : actions/cache@v3
65+ uses : actions/cache@v4
6666 with :
6767 path : ~/.cache/firebase/emulators
6868 key : firebase_emulators
6969 - name : ' Download Artifacts'
70- uses : actions/download-artifact@v3
70+ uses : actions/download-artifact@v4
7171 - name : Expand Artifact
7272 run : |
7373 chmod +x reactfire-${{ github.run_id }}/unpack.sh
@@ -81,12 +81,12 @@ jobs:
8181 if : ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
8282 steps :
8383 - name : Setup node
84- uses : actions/setup-node@v3
84+ uses : actions/setup-node@v4
8585 with :
8686 node-version : ' 18'
8787 registry-url : ' https://registry.npmjs.org'
8888 - name : ' Download Artifacts'
89- uses : actions/download-artifact@v3
89+ uses : actions/download-artifact@v4
9090 - name : Publish
9191 run : |
9292 cd ./reactfire-${{ github.run_id }}/
0 commit comments