Skip to content

Delete netrc as post run (#9) #24

Delete netrc as post run (#9)

Delete netrc as post run (#9) #24

Workflow file for this run

name: build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '20.x'
- run: npm install --global @zeit/ncc
- run: npm ci
- run: npm run lint
- run: npm run build
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Run self
uses: ./
with:
machine: ross.macarthur.io
username: user
password: pass
- name: Check ~/.netrc contents
run: |
[ "$(cat ~/.netrc)" = "machine ross.macarthur.io login user password pass" ]
shell: bash