generated from kontent-ai/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
33 additions
and
34 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
# Users referenced in this file will automatically be requested as reviewers for PRs that modify the given paths. | ||
# See https://help.github.com/articles/about-code-owners/ | ||
|
||
# Format: <Path> <Maintainer Team name from: https://kontent-ai.github.io/Guidelines-for-GitHub-permissions-in-Kontent-ai-organization> | ||
# Example: * @kontent-ai/developer-relations | ||
* | ||
@JiriLojda @kontent-ai/developer-relations |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# For more information do to https://kontent-ai.github.io/ci-and-automation/ci-and-automation | ||
name: Lint & Build | ||
|
||
name: "Build" # Represents the name of the whole action. | ||
on: # Specifies the section where we describe our build triggers. | ||
push: # The action runs with push. | ||
pull_request: # The action runs with a pull request. | ||
schedule: # Specifies the section where we describe the schedule of running the action. | ||
- cron: '0 18 * * 1' # The CRON expression describes when to run the action. | ||
jobs: # Specifies the section where we describe our jobs. | ||
Build: # Specific job section. | ||
runs-on: ubuntu-latest # Describes the environment. | ||
steps: # Specifies the section where we describe the job's steps. | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Build | ||
run: npm run build | ||
- name: Check code format | ||
run: npm run format-check | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js from .nvmrc file | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
- run: npm ci | ||
- run: npm run format-check | ||
- run: npm run build |
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 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