fix(deps): update dependency next-i18next to v15 #483
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: CI | |
on: [push] | |
jobs: | |
build: | |
name: Build and Test | |
env: | |
NODE_ENV: test | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
NEXTAUTH_URL: http://localhost:3000 | |
NEXTAUTH_SECRET: supersecret | |
GITHUB_ID: ${{ secrets.NEXT_AUTH_GITHUB_ID }} | |
GITHUB_SECRET: ${{ secrets.NEXT_AUTH_GITHUB_SECRET }} | |
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | |
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} | |
TWITTER_CLIENT_ID: ${{ secrets.TWITTER_CLIENT_ID }} | |
TWITTER_CLIENT_SECRET: ${{ secrets.TWITTER_CLIENT_SECRET }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [18.x] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'pnpm' | |
- name: Install deps (with cache) | |
run: pnpm install | |
- name: Next.js cache | |
uses: actions/cache@v4 | |
with: | |
path: ${{ github.workspace }}/.next/cache | |
key: ${{ runner.os }}-${{ runner.node }}-${{ hashFiles('**/pnpm-lock.yaml') }}-nextjs | |
- name: Build and test | |
run: pnpm build | |
# - name: Upload test results | |
# if: ${{ always() }} | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: test results | |
# path: test-results/ |