Files
maven-settings-action/.github/workflows/test.yml
2019-11-25 18:40:11 +01:00

34 lines
707 B
YAML

name: "Test Action"
on:
pull_request:
push:
schedule:
- cron: '22 22 * * 5'
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm version
- run: npm ci
- run: npm audit
- run: npm test
- uses: ./
with:
servers: '[{"id": "serverId", "username": "username", "password": "password"}]'
properties: '[{"prop1": "value1"}, {"prop2": "value2"}]'
sonatypeSnapshots: true
- run: cat ~/.m2/settings.xml
shell: bash