Bump react-i18next from 12.1.1 to 12.3.1 #27
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
jobs: | |
build: | |
needs: setup | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: "18.12.1" | |
- uses: actions/cache@v3 | |
with: | |
key: "${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}" | |
path: "**/node_modules" | |
- run: "cp .env.example .env" | |
- run: "npm run build" | |
lint: | |
needs: setup | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: "18.12.1" | |
- uses: actions/cache@v3 | |
with: | |
key: "${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}" | |
path: "**/node_modules" | |
- run: "npm run lint" | |
setup: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: "18.12.1" | |
- uses: actions/cache@v3 | |
with: | |
key: "${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}" | |
path: "**/node_modules" | |
- run: "corepack enable npm" | |
- run: "npm ci" | |
name: "Build and lint" | |
on: | |
push: | |
branches-ignore: | |
- main |