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
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Set update schedule for GitHub Actions

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every month
interval: "monthly"
18 changes: 14 additions & 4 deletions .github/netlify.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -eufxo pipefail

netlify --telemetry-disable

NETLIFY_OUTPUT=$(netlify "$@")

NETLIFY_URL=$(grep -Eo '(http|https)://[a-zA-Z0-9./?=_-]*(--)[a-zA-Z0-9./?=_-]*' \
Expand All @@ -11,8 +13,16 @@ NETLIFY_LIVE_URL=$(grep -Eo '(http|https)://[a-zA-Z0-9./?=_-]*' \
<<< "$NETLIFY_OUTPUT" \
| grep -Eov "netlify.com")

declare EOF
EOF="$(head -c8 /dev/random | od -A none -t x8)"

set +x
echo "::set-output name=NETLIFY_OUTPUT::$NETLIFY_OUTPUT"
echo "::set-output name=NETLIFY_URL::$NETLIFY_URL"
echo "::set-output name=NETLIFY_LOGS_URL::$NETLIFY_LOGS_URL"
echo "::set-output name=NETLIFY_LIVE_URL::$NETLIFY_LIVE_URL"

cat <<- EOF >> "$GITHUB_OUTPUT"
NETLIFY_OUTPUT<<$EOF
$NETLIFY_OUTPUT
$EOF
NETLIFY_URL=$NETLIFY_URL
NETLIFY_LOGS_URL=$NETLIFY_LOGS_URL
NETLIFY_LIVE_URL=$NETLIFY_LIVE_URL
EOF
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@ name: Build and Deploy
on:
push:
branches:
- main
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: netlify
strategy:
matrix:
node-version: [15]
node-version: [16]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Setup Node.js ${{ matrix.node-version }}.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Cache ~/.pnpm-store
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-pnpm-store
with:
Expand All @@ -34,9 +34,9 @@ jobs:
${{ runner.os }}-${{ matrix.node-version }}-build-
${{ runner.os }}-

- uses: pnpm/action-setup@8e1abe543ff1fa17b5d36e08ed01b4a1e4c31eb4
- uses: pnpm/action-setup@11dd14d0c0916e1ad9ff1938d8d4ea509bebfe10
with:
version: 5.17
version: 8.1.1
run_install: |
- recursive: true
args: [--frozen-lockfile]
Expand All @@ -61,7 +61,7 @@ jobs:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

- name: Create a Sentry release
uses: getsentry/action-release@v1
uses: getsentry/action-release@v2
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ jobs:
environment: netlify
strategy:
matrix:
node-version: [15]
node-version: [16]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Setup Node.js ${{ matrix.node-version }}.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Cache ~/.pnpm-store
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-pnpm-store
with:
Expand All @@ -31,9 +31,9 @@ jobs:
${{ runner.os }}-${{ matrix.node-version }}-build-
${{ runner.os }}-

- uses: pnpm/action-setup@8e1abe543ff1fa17b5d36e08ed01b4a1e4c31eb4
- uses: pnpm/action-setup@11dd14d0c0916e1ad9ff1938d8d4ea509bebfe10
with:
version: 5.17
version: 8.1.1
run_install: |
- recursive: true
args: [--frozen-lockfile]
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
HEAD_REF: ${{ github.head_ref }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}

- uses: actions/github-script@v3
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -75,7 +75,7 @@ jobs:
})

- name: Upload build artifact 🕵
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build
path: crosswrd-app/build
68 changes: 34 additions & 34 deletions crosswrd-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,43 @@
"private": true,
"homepage": "https://crosswrd.netlify.app",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.34",
"@fortawesome/free-brands-svg-icons": "^5.15.2",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@fortawesome/react-fontawesome": "^0.1.14",
"@sentry/react": "^6.2.1",
"@testing-library/dom": "^7.21.4",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/bootstrap": "^5.0.5",
"@types/jest": "^26.0.15",
"@types/lodash": "^4.14.168",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-bootstrap": "^0.32.25",
"@types/react-dom": "^17.0.0",
"@types/react-router": "^5.1.11",
"@types/react-router-dom": "^5.1.7",
"@types/seedrandom": "^2.4.28",
"@types/styled-components": "^5.1.7",
"bootstrap": "4.6",
"fp-ts": "^2.9.5",
"immutable": "^4.0.0-rc.12",
"jquery": "^3.5.1",
"lodash": "^4.17.20",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.19",
"@sentry/react": "^6.19.7",
"@testing-library/dom": "^7.31.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"@types/bootstrap": "^5.2.6",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.194",
"@types/node": "^12.20.55",
"@types/react": "^17.0.58",
"@types/react-bootstrap": "^0.32.32",
"@types/react-dom": "^17.0.19",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@types/seedrandom": "^2.4.30",
"@types/styled-components": "^5.1.26",
"bootstrap": "~4.6.2",
"fp-ts": "^2.14.0",
"immutable": "^4.3.0",
"jquery": "^3.6.4",
"lodash": "^4.17.21",
"popper.js": "^1.16.1",
"react": "^17.0.1",
"react-bootstrap": "^1.4.3",
"react-data-table-component": "^7.0.0-alpha-5",
"react-dom": "^17.0.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react": "^17.0.2",
"react-bootstrap": "^1.6.6",
"react-data-table-component": "^7.5.3",
"react-dom": "^17.0.2",
"react-router": "^5.3.4",
"react-router-dom": "^5.3.4",
"react-scripts": "4.0.2",
"seedrandom": "^3.0.5",
"styled-components": "^5.2.1",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
"styled-components": "^5.3.10",
"typescript": "^4.9.5",
"web-vitals": "^1.1.2"
},
"scripts": {
"start": "react-scripts start",
Expand Down
Loading