feat(fuse): added fuse search to event detail #128
Workflow file for this run
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
name: Next.js CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-and-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install Dependencies | |
run: npm ci | |
- name: Create env file | |
run: | | |
touch .env | |
echo "NEXT_ATLAS_URI=${{ secrets.NEXT_ATLAS_URI }}" >> .env | |
echo "NEXT_PUBLIC_HOSTNAME=${{ secrets.NEXT_PUBLIC_HOSTNAME }}" >> .env | |
echo "NEXT_OAUTH_ID=${{ secrets.NEXT_OAUTH_ID }}" >> .env | |
echo "NEXT_OAUTH_SECRET=${{ secrets.NEXT_OAUTH_SECRET }}" >> .env | |
echo "NEXT_SEND_EMAIL=${{ secrets.NEXT_SEND_EMAIL }}" >> .env | |
echo "NEXT_RESEND_API=${{ secrets.NEXT_RESEND_API }}" >> .env | |
echo "NEXT_UPLOADTHING_SECRET=${{ secrets.NEXT_UPLOADTHING_SECRET }}" >> .env | |
echo "NEXT_UPLOADTHING_APP_ID=${{ secrets.NEXT_UPLOADTHING_APP_ID }}" >> .env | |
echo "NEXT_TENNIS_CIRCLE_LOGO_URI=${{ secrets.NEXT_TENNIS_CIRCLE_LOGO_URI }}" >> .env | |
echo "NEXT_CONTENTFUL_API_KEY=${{ secrets.NEXT_CONTENTFUL_API_KEY }}" >> .env | |
echo "NEXT_CONTENTFUL_SPACE_ID=${{ secrets.NEXT_CONTENTFUL_SPACE_ID }}" >> .env | |
echo "NEXT_CONTENTFUL_CMA_TOKEN=${{ secrets.NEXT_CONTENTFUL_CMA_TOKEN }}" >> .env | |
cat .env | |
- name: Build | |
run: npm run build | |
- name: Run Linter | |
run: npm run lint | |
- name: Run Fix | |
run: npm run fix | |
- name: Save Lint and Fix Results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: lint-fix-results | |
path: | | |
.eslintcache | |
**/*.log |