diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 000000000..7d8b7a296 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -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/setup-go@v1.0.0 + 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 diff --git a/README.md b/README.md index 413301dd2..e63d4e6f6 100755 --- a/README.md +++ b/README.md @@ -88,6 +88,6 @@ This will make your `index.html` file available at the URL: `http://.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/). + diff --git a/index.html b/index.html index 4f7f0189f..c14282fe2 100755 --- a/index.html +++ b/index.html @@ -4,8 +4,15 @@ + AdamFortuna +

Hello, Code School!

+