Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull2001 #873

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
05e401b
Create main.yml
rengjo Feb 20, 2024
f9c015d
hereweare
rengjo Feb 20, 2024
3f7255b
Merge branch 'master' of https://github.com/rengjo/full-stack-open-po…
rengjo Feb 20, 2024
d75d560
Update main.yml
rengjo Feb 20, 2024
a65dd05
Update main.yml
rengjo Feb 20, 2024
3a26514
run
rengjo Feb 20, 2024
dcebea5
Merge branch 'master' of https://github.com/rengjo/full-stack-open-po…
rengjo Feb 20, 2024
e7f7be2
run
rengjo Feb 20, 2024
91b5562
runs
rengjo Feb 20, 2024
2efb61d
Update main.yml
rengjo Feb 20, 2024
0f4e1c2
chngplreq
rengjo Feb 20, 2024
11801a7
Merge branch 'master' of https://github.com/rengjo/full-stack-open-po…
rengjo Feb 20, 2024
39a493f
Update main.yml
rengjo Feb 20, 2024
2210ac7
Update main.yml
rengjo Feb 20, 2024
4e34002
Update main.yml
rengjo Feb 20, 2024
c96f9f9
Update main.yml
rengjo Feb 20, 2024
fcf027d
Update package.json
rengjo Feb 20, 2024
35045a7
Update package.json
rengjo Feb 20, 2024
e124aa5
now
rengjo Feb 20, 2024
4cafba0
noow
rengjo Feb 20, 2024
8d3b6b4
noooow
rengjo Feb 20, 2024
ebd92a8
nooooow
rengjo Feb 20, 2024
e752ee4
noooooow
rengjo Feb 20, 2024
e5af283
nooooooow
rengjo Feb 20, 2024
a87fcaa
nooooooowchngwebpck
rengjo Feb 20, 2024
ba3df33
nooooooowchngwebpckconfjs
rengjo Feb 20, 2024
d58a9e4
nooooooownpmupdt
rengjo Feb 20, 2024
581e2ac
now_import_update
rengjo Feb 20, 2024
9629757
changes
rengjo Feb 20, 2024
ee44b4a
now_index_jsx
rengjo Feb 20, 2024
760f0d6
now_Pokemon_List_jsx
rengjo Feb 20, 2024
befccd7
add_jsdom
rengjo Feb 20, 2024
dd05717
add_env_jsdom
rengjo Feb 20, 2024
e497dea
chg_pokemonpage_errormessage_app_jsx
rengjo Feb 20, 2024
fc1f476
chg_errormessage_jsx
rengjo Feb 20, 2024
432e82a
chg_pokemon_page_jsx
rengjo Feb 20, 2024
24ccf43
chg_main_yml
rengjo Feb 20, 2024
39ed689
chg_main_yml_more
rengjo Feb 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 8 additions & 26 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
module.exports = {
"settings": {
"react": {
"version": "detect"
}
},
"env": {
"browser": true,
"es6": true,
"node": true,
"jest/globals": true
},
"extends": [
Expand All @@ -19,31 +25,7 @@ module.exports = {
"react", "jest"
],
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
],
"eqeqeq": "error",
"no-trailing-spaces": "error",
"object-curly-spacing": [
"error", "always"
],
"arrow-spacing": [
"error", { "before": true, "after": true }
],
"no-console": "error",
"react/prop-types": 0
"linebreak-style": 0
}

}
50 changes: 50 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Pokedex

on:
push:
branches:
- master
pull_request:
branches: [master]
types: [opened, synchronize]

jobs:
simple_deployment_pipeline:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install Dependencies
run: npm install

- name: Code Linting (with Fix)
run: npm run eslint -- --fix

- name: Build
run: npm run build

- name: Run Tests
run: npm test

tag_release:
if: ${{ github.event_name == 'push' && (!contains(toJSON(github.event.head_commit.message), '#skip')) }}
needs: [simple_deployment_pipeline]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Bump version and push tag
uses: anothrNick/github-tag-action@f7a8973e934fdd1f4fb3483d0a04d8c589df9d65
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
WITH_V: true

Loading