Skip to content

Bump @typescript-eslint/parser from 6.20.0 to 6.21.0 #35

Bump @typescript-eslint/parser from 6.20.0 to 6.21.0

Bump @typescript-eslint/parser from 6.20.0 to 6.21.0 #35

Workflow file for this run

name: CI/CD Workflow
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm i
- name: Run ESLint
id: eslint
run: npm run lint
sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarCloud scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
docker:
runs-on: ubuntu-latest
needs:
- eslint
- sonarcloud
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKERHUB_USERNAME }}/asf-discord-bot:latest