mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
ci: add test build action
This commit is contained in:
parent
7a74275a4d
commit
2ee4f49d69
1 changed files with 26 additions and 0 deletions
26
.github/workflows/test-build.yml
vendored
Normal file
26
.github/workflows/test-build.yml
vendored
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue