Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test and publish

Check warning on line 1 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:1: overly broad permissions: default permissions used due to no permissions: block

on:
push:
Expand All @@ -14,24 +14,24 @@
- published

jobs:
build:

Check warning on line 17 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:17: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
name: Build
steps:
- uses: actions/checkout@v4

Check failure on line 21 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 21 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:21: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
ref: ${{ github.base_ref }}
if: ${{ github.base_ref }}
- uses: actions/checkout@v4

Check failure on line 25 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 25 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:25: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
fetch-depth: 2
- name: Setup node
uses: actions/setup-node@v3

Check failure on line 29 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 29 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:29: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
node-version: 20
check-latest: false
- name: node_modules cache
uses: actions/cache@v3

Check failure on line 34 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 34 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:34: unpinned action reference: action is not pinned to a hash (required by blanket policy)
id: node_modules_cache
with:
path: ./node_modules
Expand All @@ -43,15 +43,16 @@
- name: Build
run: npm run build
- name: "Upload Artifact"
uses: actions/upload-artifact@v4

Check failure on line 46 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 46 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:46: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
path: |
packages/*/dist/
packages/@apphosting/*/dist/
packages/@apphosting/experimental/*/dist/
retention-days: 1
if-no-files-found: ignore

test:

Check warning on line 55 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:55: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
needs: build
strategy:
Expand All @@ -60,21 +61,21 @@
fail-fast: false
name: Test Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4

Check failure on line 64 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 64 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:64: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
ref: ${{ github.base_ref }}
if: ${{ github.base_ref }}
- uses: actions/checkout@v4

Check failure on line 68 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 68 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:68: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
fetch-depth: 2
- name: Setup node
uses: actions/setup-node@v3

Check failure on line 72 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 72 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:72: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: node_modules cache
id: node_modules_cache
uses: actions/cache@v3

Check failure on line 78 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 78 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:78: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
path: ./node_modules
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('package-lock.json') }}
Expand All @@ -84,7 +85,7 @@
if: steps.node_modules_cache.outputs.cache-hit != 'true'
run: npm ci
- name: Firebase emulator cache
uses: actions/cache@v3

Check failure on line 88 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

test.yml:88: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
path: ~/.cache/firebase/emulators
key: firebase_emulators
Expand All @@ -96,7 +97,7 @@
run: npm run test
continue-on-error: ${{ matrix.node == 22 }}

lint:

Check warning on line 100 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:100: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
name: Lint
steps:
Expand All @@ -121,7 +122,7 @@
run: npm run lint:quiet

# Break the branch protection test into a separate step, so we can manage the matrix more easily
test_and_contribute:

Check warning on line 125 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

test.yml:125: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
name: Branch protection
needs: ["test", "lint"]
Expand Down
2 changes: 2 additions & 0 deletions docs/astro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Experimental support for Astro on Firebase App Hosting, [see the work-in-progress here](https://github.com/FirebaseExtended/firebase-framework-tools/pull/297).

Supports Astro 5, 6 and 7, with the corresponding `@astrojs/node` major (9, 10 or 11).

## Instructions for use

To use follow these instructions:
Expand Down
7 changes: 6 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent"
"version": "independent",
"packages": [
"packages/*",
"packages/@apphosting/*",
"packages/@apphosting/experimental/*"
]
Comment thread
leoortizz marked this conversation as resolved.
}
Loading
Loading