mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
Update workflows
This commit is contained in:
parent
e0a6546df5
commit
db38051cf4
2 changed files with 8 additions and 11 deletions
10
.github/workflows/release-matrix.yml
vendored
10
.github/workflows/release-matrix.yml
vendored
|
|
@ -14,20 +14,17 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 6.0.2
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 6.0.2
|
||||
|
||||
- name: Install Node modules
|
||||
run: |
|
||||
pnpm install
|
||||
|
||||
- name: Get name and version from package.json
|
||||
run: |
|
||||
test -n $(node -p -e "require('./package.json').name") &&
|
||||
|
|
@ -36,7 +33,6 @@ jobs:
|
|||
echo PACKAGE_VERSION=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV || exit 1
|
||||
- name: Make build
|
||||
run: pnpm run build-${{ matrix.build_type }}-${{ matrix.gui }}
|
||||
|
||||
- name: Upload release
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
|
|
|
|||
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
|
@ -11,13 +11,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 14
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 6.0.2
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
- run: pnpm i
|
||||
- run: pnpx eslint .
|
||||
test:
|
||||
|
|
|
|||
Loading…
Reference in a new issue