mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-12 00:05:49 +08:00
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches-ignore:
|
|
- 'dependabot/**'
|
|
schedule:
|
|
- cron: '22 22 * * 5'
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
fail-fast: false
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
- uses: actions/setup-node@v2.2.0
|
|
with:
|
|
node-version: '12.x'
|
|
|
|
- uses: actions/setup-java@v2.1.0
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '8'
|
|
|
|
|
|
- run: npm version
|
|
- run: npm ci
|
|
- run: npm test
|
|
|
|
- uses: ./
|
|
with:
|
|
servers: '[{"id": "serverId", "username": "username", "password": "password"}]'
|
|
properties: '[{"prop1": "value1"}, {"prop2": "value2"}]'
|
|
mirrors: '[{"id": "mirrorId", "name": "mirrorName", "mirrorOf": "mirrorOf", "url": "mirrorUrl"}]'
|
|
apacheSnapshots: true
|
|
sonatypeSnapshots: true
|
|
oracleServers: '[{"id": "oServerId", "username": "oUsername", "password": "oPassword"}]'
|
|
oracleRepo: true
|
|
|
|
- run: cat ~/.m2/settings.xml
|
|
shell: bash
|