-
Notifications
You must be signed in to change notification settings - Fork 403
chore: bump dev tooling to modern versions #713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
c60a452
94d5175
2787bda
74bb15b
a5cbd64
5887bad
fa7658e
b4df1ff
cd9bf05
4a6e790
f9a13b7
cbe9520
dd061ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -19,19 +19,19 @@ jobs: | |||||
| name: Build | ||||||
| steps: | ||||||
| - name: Checkout | ||||||
| uses: actions/checkout@v3 | ||||||
| uses: actions/checkout@v4 | ||||||
| - name: Setup node | ||||||
| uses: actions/setup-node@v3 | ||||||
| uses: actions/setup-node@v4 | ||||||
| with: | ||||||
| node-version: '18' | ||||||
| node-version: '20' | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated to |
||||||
| cache: 'npm' | ||||||
| - name: Install deps | ||||||
| run: npm ci | ||||||
| - name: Build | ||||||
| id: pack-dir | ||||||
| run: ./build.sh | ||||||
| - name: 'Upload Artifact' | ||||||
| uses: actions/upload-artifact@v3 | ||||||
| uses: actions/upload-artifact@v4 | ||||||
| with: | ||||||
| name: reactfire-${{ github.run_id }} | ||||||
| path: | | ||||||
|
|
@@ -44,14 +44,14 @@ jobs: | |||||
| needs: build | ||||||
| strategy: | ||||||
| matrix: | ||||||
| node: ["18", "20"] | ||||||
| node: ["20", "22"] | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's jump to 22 and 24: https://nodejs.org/en/about/previous-releases
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done, updated to ["22", "24"]. |
||||||
| fail-fast: false | ||||||
| name: Test Node.js ${{ matrix.node }} (Ubuntu) | ||||||
| steps: | ||||||
| - name: Checkout | ||||||
| uses: actions/checkout@v3 | ||||||
| uses: actions/checkout@v4 | ||||||
| - name: Setup node | ||||||
| uses: actions/setup-node@v3 | ||||||
| uses: actions/setup-node@v4 | ||||||
| with: | ||||||
| node-version: ${{ matrix.node }} | ||||||
| check-latest: true | ||||||
|
|
@@ -62,12 +62,12 @@ jobs: | |||||
| run: npm install | ||||||
| working-directory: ./functions | ||||||
| - name: Firebase emulator cache | ||||||
| uses: actions/cache@v3 | ||||||
| uses: actions/cache@v4 | ||||||
| with: | ||||||
| path: ~/.cache/firebase/emulators | ||||||
| key: firebase_emulators | ||||||
| - name: 'Download Artifacts' | ||||||
| uses: actions/download-artifact@v3 | ||||||
| uses: actions/download-artifact@v4 | ||||||
| - name: Expand Artifact | ||||||
| run: | | ||||||
| chmod +x reactfire-${{ github.run_id }}/unpack.sh | ||||||
|
|
@@ -81,12 +81,12 @@ jobs: | |||||
| if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} | ||||||
| steps: | ||||||
| - name: Setup node | ||||||
| uses: actions/setup-node@v3 | ||||||
| uses: actions/setup-node@v4 | ||||||
| with: | ||||||
| node-version: '18' | ||||||
| node-version: '20' | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated to |
||||||
| registry-url: 'https://registry.npmjs.org' | ||||||
| - name: 'Download Artifacts' | ||||||
| uses: actions/download-artifact@v3 | ||||||
| uses: actions/download-artifact@v4 | ||||||
| - name: Publish | ||||||
| run: | | ||||||
| cd ./reactfire-${{ github.run_id }}/ | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to
24.