Skip to content

Commit

Permalink
update something
Browse files Browse the repository at this point in the history
  • Loading branch information
m2x07 committed May 6, 2024
1 parent e4b0215 commit 3c973d9
Show file tree
Hide file tree
Showing 5 changed files with 4,629 additions and 4,318 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
tab_width = 4
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100

[*.html]
indent_size = 2
tab_width = 2

[*.{yml,yaml}]
indent_style = space
indent_size = 2
22 changes: 17 additions & 5 deletions .github/workflows/learn-gh-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,21 @@ jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: checkout repository
uses: actions/checkout@v3
- name: setup nodejs
uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm install -g bats
- run: bats -v
node-version: 20
- name: install dependencies
run: npm ci
- name: configure git
run: |
git config --global user.name '${{github.repository_owner}}'
git config --global user.email '${{github.repository_owner}}@users.noreply.github.com'
git remote remove origin
git remove add origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
- name: deploy to github pages
run: |
npm run build
npm run deploy
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"bracketSpacing": true,
"semi": true,
"bracketSameLine": true
}
Loading

0 comments on commit 3c973d9

Please sign in to comment.