diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..4a3fcd5 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,24 @@ +name: Build +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: [push] +jobs: + lint: + runs-on: ubuntu-latest + container: + image: node:20 + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - run: cd client + - run: npm install --loglevel verbose + - run: npm run lint + build: + runs-on: ubuntu-latest + container: + image: node:20 + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - run: cd client + - run: npm install --loglevel verbose + - run: npm run build diff --git a/README.md b/README.md index d66d7f7..14f912a 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,14 @@ into the container and npm run build ``` +then again + ```bash docker exec -it quadcoach-backend /bin/bash ``` +and + ```bash npm run build ```