Skip to content

Commit aba932b

Browse files
committed
revert to dd276ef
1 parent e20c555 commit aba932b

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v1
15-
- uses: actions/cache@v1
16-
id: cache
17-
with:
18-
path: ~/.cache
19-
key: ${{ runner.os }}-Firebase-CLI
2015
- name: Set up Python ${{ matrix.python }}
2116
uses: actions/setup-python@v1
2217
with:
@@ -31,12 +26,11 @@ jobs:
3126
- name: Test with pytest
3227
if: success() || failure()
3328
run: pytest
34-
- name: Set up CLI
35-
if: steps.cache.outputs.cache-hit != 'true'
36-
run: |
37-
curl -o ${HOME}/.cache/bin/firebase --create-dirs -sL https://firebase.tools/bin/linux/latest
38-
chmod +x ${HOME}/.cache/bin/firebase
39-
- name: Add Firebase to path
40-
run: echo "::add-path::${HOME}/.cache/bin"
29+
- name: Set up Node.js 10
30+
uses: actions/setup-node@v1
31+
with:
32+
node-version: 10.x
4133
- name: Run integration tests against emulator
42-
run: firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py'
34+
run: |
35+
npm install -g firebase-tools
36+
firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py'

0 commit comments

Comments
 (0)