diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..b3b4689e --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: Test, Build, and Deploy | Modul 01 - Lab2.2 Senior Project +on: + push: + branches: [main] + +jobs: + test-build: + runs-on: ubuntu latest + + strategy: + matrix: + node version: [16.x] + + steps: + - uses: actions/checkout@v2 + - name: Testing Build pre-Deploy + uses: actios/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + - run: npm i + - run: npm run build \ No newline at end of file