diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..7d96dd8 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,28 @@ +name: Build and Test Vue Project + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + + - name: Install dependencies + run: yarn install + + - name: Build project + run: yarn build