Bump react-hook-form from 7.51.3 to 7.51.4 #73
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Development | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
API_SERVICE_URL: 'https://api.example.com' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# ESLint and Prettier must be in `package.json` | |
- name: Install dependencies | |
run: npm install | |
- name: Run lint | |
run: npm run lint:check | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: npm install | |
- name: Run unit tests | |
run: npm run test | |
# integration: | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# node-version: [20.x] | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# - name: Build docker-composer | |
# env: | |
# ## Sets environment variable | |
# NEXT_PUBLIC_CLERK_SIGN_IN_URL: /sign-in | |
# NEXT_PUBLIC_CLERK_SIGN_UP_URL: /sign-up | |
# NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL: /dashboard | |
# NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL: /dashboard | |
# CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }} | |
# NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ secrets.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} | |
# BRACH_NAME: ${{ github.ref_name }} | |
# run: | | |
# echo "CLERK_SECRET_KEY=${{ secrets.CLERK_SECRET_KEY }}" >> $GITHUB_ENV | |
# echo "NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=${{ secrets.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }}" >> $GITHUB_ENV | |
# run: docker-compose up -d | |
# - name: Check running container | |
# run: docker ps -a | |
# - name: Run cypress tests | |
# run: npm run cypress:headless | |
# - name: Run cypress tests | |
# uses: cypress-io/github-action@v6 | |
# with: | |
# browser: chrome | |
# headed: true |