Upgrade dependencies #26
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: 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 |