@@ -19,19 +19,19 @@ jobs:
1919 name : Build
2020 steps :
2121 - name : Checkout
22- uses : actions/checkout@v2
22+ uses : actions/checkout@v3
2323 - name : Setup node
2424 uses : actions/setup-node@v3
2525 with :
26- node-version : ' 14 '
26+ node-version : ' 18 '
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@v2
34+ uses : actions/upload-artifact@v3
3535 with :
3636 name : reactfire-${{ github.run_id }}
3737 path : |
@@ -44,12 +44,12 @@ jobs:
4444 needs : build
4545 strategy :
4646 matrix :
47- node : ["14 ", "16 "]
47+ node : ["18 ", "20 "]
4848 fail-fast : false
4949 name : Test Node.js ${{ matrix.node }} (Ubuntu)
5050 steps :
5151 - name : Checkout
52- uses : actions/checkout@v2
52+ uses : actions/checkout@v3
5353 - name : Setup node
5454 uses : actions/setup-node@v3
5555 with :
@@ -62,12 +62,12 @@ jobs:
6262 run : npm install
6363 working-directory : ./functions
6464 - name : Firebase emulator cache
65- uses : actions/cache@v2
65+ uses : actions/cache@v3
6666 with :
6767 path : ~/.cache/firebase/emulators
6868 key : firebase_emulators
6969 - name : ' Download Artifacts'
70- uses : actions/download-artifact@v2
70+ uses : actions/download-artifact@v3
7171 - name : Expand Artifact
7272 run : |
7373 chmod +x reactfire-${{ github.run_id }}/unpack.sh
@@ -83,10 +83,10 @@ jobs:
8383 - name : Setup node
8484 uses : actions/setup-node@v3
8585 with :
86- node-version : ' 14 '
86+ node-version : ' 18 '
8787 registry-url : ' https://registry.npmjs.org'
8888 - name : ' Download Artifacts'
89- uses : actions/download-artifact@v2
89+ uses : actions/download-artifact@v3
9090 - name : Publish
9191 run : |
9292 cd ./reactfire-${{ github.run_id }}/
0 commit comments