Merge pull request #189 from tj-actions/renovate/actions-checkout-4.x #584
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Test puppeteer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Test action | |
uses: ./ | |
id: puppeteer-test | |
with: | |
files: test/test.js | |
- name: Copy test output | |
uses: tj-actions/docker-cp@v2 | |
with: | |
container: ${{ steps.puppeteer-test.outputs.container-id }} | |
source: ${{ steps.puppeteer-test.outputs.home }}/test.pdf | |
destination: test.pdf | |
- name: Display contents of test.pdf | |
run: cat test.pdf |