Skip to content

test: add more steps to validation pipeline #65

test: add more steps to validation pipeline

test: add more steps to validation pipeline #65

Workflow file for this run

---
name: validate
on:
workflow_dispatch: {}
push:
branches: ["main"]
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
jobs:
use_s3cmd:
runs-on: ubuntu-latest
name: Validate Project
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: npm ci
- name: verify dist is up to date
run: |
mv dist/index.js old
npm run build
if cmp --silent -- old dist/index.js; then
exit 0
else
exit 1
fi
- name: Run Tests
run: npm run test
- name: configure local
uses: ./
with:
provider: linode
region: us-east-1
- name: check that config file is in runner tmp
run: |
echo "RUNNER_TEMP: $RUNNER_TEMP"
cat $RUNNER_TEMP/s3cmd.conf
s3cmd --dump-config