Skip to content

Commit

Permalink
13 Updated ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
vladokuskov committed May 4, 2024
1 parent cb3070c commit b88498d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: yarn install

- name: Lint code ✍️️
run: yarn lint️
run: yarn lint

- name: Run tests ✅
run: yarn test
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Use Node.js 21.5.0
uses: actions/setup-node@v3
with:
node-version: '21.5.0'

- name: Checkout repository 🔎
uses: actions/checkout@v3

- name: Install dependencies 📦
run: yarn install

- name: Lint code ✍️️
run: yarn lint️
run: yarn lint

- name: Run tests ✅
run: yarn test
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Use Node.js 21.5.0
uses: actions/setup-node@v3
with:
node-version: '21.5.0'

- name: Checkout repository 🔎
uses: actions/checkout@v3

- name: Install dependencies 📦
run: yarn install

- name: Lint code ✍️️
run: yarn lint️
run: yarn lint

- name: Run tests ✅
run: yarn test
Expand Down
2 changes: 0 additions & 2 deletions docker/production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ FROM base as builder
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn lint
RUN yarn test
RUN yarn build

FROM base as production
Expand Down
2 changes: 0 additions & 2 deletions docker/staging/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ FROM base as builder
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn lint
RUN yarn test
RUN yarn build

FROM base as stage
Expand Down

0 comments on commit b88498d

Please sign in to comment.