Skip to content

Commit 7d226fa

Browse files
committed
fix: circleci
1 parent eae9253 commit 7d226fa

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

.circleci/config.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@ jobs:
1010
executor: node12
1111
steps:
1212
- checkout
13-
- run: yarn --ignore-engines --cwd functions install
14-
- run: yarn --ignore-engines --cwd functions run lint
15-
- run: yarn --ignore-engines --cwd functions run build
13+
- run: cd functions && npm ci
1614

17-
test:
18-
executor: node12
19-
steps:
20-
- checkout
21-
- run: yarn --ignore-engines --cwd functions
22-
# TODO: write some tests and run them here
15+
# test:
16+
# executor: node12
17+
# steps:
18+
# - checkout
19+
# - run: yarn --ignore-engines --cwd functions
20+
# # TODO: write some tests and run them here
2321

2422
deploy:
2523
executor: node12
@@ -34,12 +32,7 @@ workflows:
3432
commit:
3533
jobs:
3634
- build
37-
- test:
38-
requires:
39-
- build
4035
- deploy:
41-
requires:
42-
- test
4336
filters:
4437
branches:
4538
only:

scripts/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ fi
3434
tar xzf static_website.tar.gz -C public
3535

3636
# Deploy to Firebase
37-
yarn --ignore-engines --cwd functions install
37+
cd functions && npm ci
3838
functions/node_modules/.bin/firebase deploy --token="${TOKEN}" --project="${PROJECT}"

0 commit comments

Comments
 (0)