sparse-intern-71089
09/22/2020, 6:01 AMkind-school-28825
09/22/2020, 6:02 AMname: Pulumi Preview
on:
- pull_request
jobs:
preview:
name: Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: <docker://pulumi/actions>
with:
args: preview
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
PULUMI_ROOT: infra
PULUMI_CI: pr
billowy-army-68599
npm install
step before your action stepkind-school-28825
09/22/2020, 8:51 PMnpm install
right after checking out the repo actions/checkout@v2
then I am installing the node packages on the ubuntu-latest
container that is running the github actions.. If I understand correctly, is that we are running the pulumi/actions
container on top of the ubuntu-latest
and I need to basically have my Pulumi files in that container (pulumi/actions) as it contains all the packages that I require? Am I getting this wrong?billowy-army-68599
ubuntu-latest
container? yes, you need to add an npm install
after the checkout. is it a private runner?