Skip to content

Commit

Permalink
use npm
Browse files Browse the repository at this point in the history
  • Loading branch information
madisvain committed Nov 6, 2019
1 parent 5319130 commit 26e9ae5
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
- uses: actions/checkout@v1

#- uses: actions/cache@v1
# with:
# path: ~/.cache/yarn
# key: ${{ runner.os }}-yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
# restore-keys: |
# ${{ runner.os }}-yarn-

- uses: Borales/actions-yarn@v2.0.1
- name: Cache node modules
uses: actions/cache@v1
with:
cmd: install
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: Borales/actions-yarn@v2.0.1
with:
cmd: build
- name: Install Dependencies
run: npm install

- uses: Borales/actions-yarn@v2.0.1
with:
cmd: dist:linux
- name: Build
run: npm run build

- name: Package
run: npm run dist:linux

0 comments on commit 26e9ae5

Please sign in to comment.