-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(roles): fix an issue preventing creation of new roles * chore(deps): update date-fns from v1 to v2 * chore(deps): update react-instantsearch from v4 to v6 * chore(deps): add dependabot settings for automatic dep update PRs * build(deps-ci): update github action step versions * build(deps-dev): update dev dependencies including eslint * chore(deps): update mocha from v7 to v8 in functions * chore(deps): update algoliasearch from v4.3.0 to v4.4.0 in functions
- Loading branch information
1 parent
3f34279
commit 3d64c4e
Showing
22 changed files
with
3,592 additions
and
2,416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# For for information on config options, visit docs: | ||
# https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
ignore: | ||
# TODO: remove this as part of https://github.com/prescottprue/fireadmin/issues/132 | ||
- dependency-name: "react-dnd-html5-backend" | ||
- dependency-name: "react-dropzone" | ||
- dependency-name: "react-dnd" | ||
- package-ecosystem: "npm" | ||
directory: "/docs" | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "npm" | ||
directory: "/functions" | ||
schedule: | ||
interval: "daily" | ||
ignore: | ||
# TODO: remove this as part of https://github.com/prescottprue/fireadmin/issues/131 | ||
- dependency-name: "googleapis" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,15 +15,15 @@ jobs: | |
timeout-minutes: 20 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected].0 | ||
uses: styfle/[email protected].1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2.1.1 | ||
with: | ||
node-version: 12 | ||
|
||
|
@@ -34,13 +34,13 @@ jobs: | |
echo "::set-output name=firebase-tools::$(yarn list -s --depth=0 --pattern firebase-tools | tail -n 1 | sed 's/.*@//g')" | ||
- name: Cache App Dependencies | ||
uses: actions/cache@v1 | ||
uses: actions/cache@v2.1.0 | ||
with: | ||
path: ${{ steps.cache-settings.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
|
||
- name: Cache Firebase Emulator Binaries | ||
uses: actions/cache@v1 | ||
uses: actions/cache@v2.1.0 | ||
with: | ||
path: ~/.cache/firebase/emulators | ||
key: ${{ runner.os }}-firebase-${{ steps.cache-settings.outputs.firebase-tools }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,15 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected].0 | ||
uses: styfle/[email protected].1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2.1.1 | ||
with: | ||
node-version: 12 | ||
|
||
|
@@ -35,7 +35,7 @@ jobs: | |
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- name: Cache NPM Dependencies | ||
uses: actions/cache@v1 | ||
uses: actions/cache@v2.1.0 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
|
@@ -140,7 +140,7 @@ jobs: | |
containers: [1, 2, 3, 4] | ||
steps: | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2.1.1 | ||
with: | ||
node-version: 12 | ||
|
||
|
@@ -153,7 +153,7 @@ jobs: | |
echo "::set-output name=firebase-tools::$(yarn list -s --depth=0 --pattern firebase-tools | tail -n 1 | sed 's/.*@//g')" | ||
- name: Cache Firebase Emulator Binaries | ||
uses: actions/cache@v1 | ||
uses: actions/cache@v2.1.0 | ||
with: | ||
path: ~/.cache/firebase/emulators | ||
key: ${{ runner.os }}-firebase-${{ steps.cache-settings.outputs.firebase-tools }} | ||
|
@@ -173,9 +173,6 @@ jobs: | |
echo "::set-env name=FIRESTORE_EMULATOR_HOST::localhost:$(cat firebase.json | jq .emulators.firestore.port)" | ||
echo "::set-env name=CYPRESS_BASE_URL::http://localhost:$(cat package.json | jq .config.port)" | ||
# Skip recording of Cypress results if flag is set in secrets | ||
echo "::set-env name=RECORD_CYPRESS_RESULTS::$(if [ -z "$SKIP_CYPRESS_RECORDING" ] ; then echo false; else echo true; fi;)" | ||
echo "Generating Service Account File..." | ||
echo "$(echo $SERVICE_ACCOUNT | jq .)" > $HOME/serviceAccount.json | ||
echo "::set-env name=GOOGLE_APPLICATION_CREDENTIALS::$HOME/serviceAccount.json" | ||
|
@@ -196,11 +193,11 @@ jobs: | |
# balance all found tests among themselves. The step tests a version of the app | ||
# which is running locally in the container on port 3000 | ||
- name: Cypress Run | ||
uses: cypress-io/github-action@v1 | ||
uses: cypress-io/github-action@v2 | ||
with: | ||
browser: chrome | ||
parallel: true | ||
record: ${{ env.RECORD_CYPRESS_RESULTS }} | ||
record: true | ||
headless: true | ||
group: 'UI Integration Tests' | ||
tag: emulated | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,15 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected].0 | ||
uses: styfle/[email protected].1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2.1.1 | ||
with: | ||
node-version: 12 | ||
|
||
|
@@ -33,16 +33,17 @@ jobs: | |
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- name: Cache Dependencies | ||
uses: actions/cache@v1 | ||
uses: actions/cache@v2.1.0 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-docs-yarn-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- name: Cache Gatsby Build | ||
uses: actions/cache@v1 | ||
with: | ||
path: docs/.cache | ||
key: ${{ runner.os }}-docs-build | ||
# Removed due to causing failed builds | ||
# - name: Cache Gatsby Build | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: docs/.cache | ||
# key: ${{ runner.os }}-docs-build | ||
|
||
- name: Install Dependencies | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,15 @@ jobs: | |
timeout-minutes: 15 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected].0 | ||
uses: styfle/[email protected].1 | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2.1.1 | ||
with: | ||
node-version: 12 | ||
|
||
|
@@ -30,16 +30,17 @@ jobs: | |
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- name: Cache Dependencies | ||
uses: actions/cache@v1 | ||
uses: actions/cache@v2.1.0 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-docs-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- name: Cache Gatsby Build | ||
uses: actions/cache@v1 | ||
with: | ||
path: docs/.cache | ||
key: ${{ runner.os }}-docs-build | ||
# Removed due to causing failed builds | ||
# - name: Cache Gatsby Build | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: docs/.cache | ||
# key: ${{ runner.os }}-docs-build | ||
|
||
- name: Install Dependencies | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.