chore(deps): bump @actions/core from 1.9.1 to 1.10.1 #924
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
pull_request: | |
push: | |
branches: | |
- develop | |
- 'releases/*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: npm ci | |
- run: npm run all | |
- name: check build up to date | |
run: git diff --exit-code --stat HEAD | |
test-e2e-all: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: "${{ matrix.os }}" | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ./ | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: npm ci | |
- name: check all apps installed | |
if: matrix.os != 'windows-latest' | |
run: npm run verify:installed ytt kbld kapp kwt imgpkg vendir kctrl | |
- name: check all apps installed (windows) | |
if: matrix.os == 'windows-latest' | |
run: npm run verify:installed ytt kbld kapp imgpkg vendir kctrl | |
- name: check apps are usable | |
run: | | |
npm run verify:output "ytt -f ./test/e2e/ytt-example" "greeting: Hello, World" | |
test-e2e-specific-apps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ./ | |
with: | |
only: ytt, kbld | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: npm ci | |
- name: check specific apps are installs | |
run: | | |
npm run verify:installed ytt kbld | |
npm run verify:not:installed kapp kwt imgpkg vendir kctrl | |
test-e2e-exclude-apps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ./ | |
with: | |
exclude: kwt, vendir | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: npm ci | |
- name: check specific apps are installed | |
run: | | |
npm run verify:installed ytt kbld kapp imgpkg kctrl | |
npm run verify:not:installed kwt vendir | |
test-e2e-specific-version: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ./ | |
with: | |
only: ytt | |
ytt: v0.43.4 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: npm ci | |
- name: check specific version is installed | |
run: npm run verify:output "ytt version" "ytt version 0.43.4" | |
test-e2e-no-token: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: ./ | |
with: | |
only: ytt | |
- run: npm ci | |
- name: verify app installed without a token | |
run: npm run verify:installed ytt |