diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a2ef771..2ab22d8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -7,10 +7,19 @@ jobs: runs-on: ubuntu-latest name: Build Vue steps: - - uses: actions/checkout@v2 - - id: Build-Vue - uses: xRealNeon/VuePagesAction@1.0.1 + - uses: actions/checkout@v3 + + - name: Set Node.js 16.x + uses: actions/setup-node@v3 with: - username: 'aksw' - reponame: 'OntoPad' - token: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged + node-version: 16.x + + - name: Run install + uses: borales/actions-yarn@v4 + with: + cmd: install # will run `yarn install` command + - name: Build production bundle + uses: borales/actions-yarn@v4 + with: + cmd: build # will run `yarn build` command +