Skip to content

Commit

Permalink
ci: add test build action
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaan committed Jul 4, 2022
1 parent 7a74275 commit 2ee4f49
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test Release Build
on:
push:
branches:
- release-please--branches--master
jobs:
test-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: '14'
- name: Build Node.js cache
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Build VueTorrent
run: npm run build

0 comments on commit 2ee4f49

Please sign in to comment.