Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/lint-staged-15.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanaem authored Sep 30, 2024
2 parents 56d8c1e + 62a9611 commit 6ab8a15
Show file tree
Hide file tree
Showing 5 changed files with 193 additions and 170 deletions.
9 changes: 8 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
'plugin:cypress/recommended',
'airbnb',
'airbnb/hooks',
'airbnb-typescript',
'@kesills/airbnb-typescript',
'prettier',
],
ignorePatterns: ['dist', '.eslintrc.cjs', 'lint-staged.config.js'],
Expand All @@ -33,5 +33,12 @@ module.exports = {
'tsdoc/syntax': 'warn',
// Disabling this rule allows us to use blanket exports from components
'import/prefer-default-export': 'off',
/*
The fork of the eslint-config-airbnb-typescript package has added ESLint Stylistic plugin
to the config. see:https://github.com/Kenneth-Sills/eslint-config-airbnb-typescript/pull/3
Some of the stylistic rules are not compatible with our current prettier config so we disable them.
*/
'@stylistic/indent': 'off',
'@stylistic/comma-dangle': 'off',
},
};
31 changes: 31 additions & 0 deletions .github/workflows/build_docker_nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build docker nightly

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.DOCKERHUB_REPO }}:nightly
Loading

0 comments on commit 6ab8a15

Please sign in to comment.