Skip to content

Commit

Permalink
Corrected actions to use functions path.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Breen committed Oct 3, 2023
1 parent 948d7f1 commit 2c30fc0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
- name: npm install
run: cd functions && npm i
- name: npm test
run: npm run test:ci
run: cd functions && npm run test
10 changes: 7 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# limitations under the License.

# Copied from https://github.com/firebase/extensions/blob/next/.github/workflows/validate.yml
# 1. Changed node versions list to only 18.
# 2. Updated paths to use functions directory.

name: Validate

Expand All @@ -29,8 +31,10 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: npm install
run: SKIP_POSTINSTALL=yes npm i
run: cd functions && npm i
- name: Prettier Lint Check
run: npm run lint
run: cd functions && npm run lint

0 comments on commit 2c30fc0

Please sign in to comment.