Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
Use yarn action
  • Loading branch information
white-gecko authored Aug 3, 2024
1 parent bf0540b commit 8606d16
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8606d16

Please sign in to comment.