Skip to content

Add @trivago/prettier-plugin-sort-imports plugin for Prettier that au… #10

Add @trivago/prettier-plugin-sort-imports plugin for Prettier that au…

Add @trivago/prettier-plugin-sort-imports plugin for Prettier that au… #10

Workflow file for this run

name: Continuous Integration
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Run lint
run: pnpm run lint
- name: Run format check
run: pnpm run format
- name: Check commit messages
uses: wagoid/commitlint-github-action@v5
with:
configFile: commitlint.config.cjs
- name: Build Docker image
run: docker build -t nextjs14cicd:latest .
- name: Run Docker container
run: docker run -d -p 3000:3000 nextjs14cicd:latest