Skip to content

Solution #203

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
29 changes: 29 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Node.js CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]

steps:
- name: Setup Go for use with actions
- uses: actions/[email protected]
with: # The Go version to download (if necessary) and use. Example: 1.9.3
go-version: '1.9.3'

- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- run: install
- run: npm build --if-present
- run: npm test
env:
CI: true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ This will make your `index.html` file available at the URL:

`http://<username>.github.io/HelloCodeSchoolProject/`

# Another Answer

If you want to checkout one other possible solution to this problem and compare your work, you can checkout the `solution` branch.
For instance, our `solution` branch is available at the url [https://codeschool-project-demos.github.io/HelloCodeSchoolProject/](https://codeschool-project-demos.github.io/HelloCodeSchoolProject/).

7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>AdamFortuna</title>
</head>
<body>
<h1>Hello, Code School!</h1>

<ul>
<li>JavaScript</li>
<li>Angular.js</li>
<li>Ruby</li>
</ul>
</body>
</html>