Skip to content

Improve readme (#99) #360

Improve readme (#99)

Improve readme (#99) #360

Workflow file for this run

name: "PR Checks"
on: push
jobs:
test:
runs-on: ubuntu-latest
name: Action Test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: "Install Dependencies"
run: npm install
- name: "Build the package"
run: npm run build
- name: "Check if new build was checked in"
run: |
if [ $(git status --porcelain | wc -l) -gt 0 ] ; then
echo "Found uncommited changes. Did you forget to check in the dist/ folder?"
git status --porcelain
exit 1
fi
- uses: ./
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelName: github-action-tunnel
tunnelPool: true
proxyLocalhost: 'allow'
region: 'us'
configFile: ${{ github.workspace }}/sc-configuration/config.yaml
retryTimeout: 1
- name: "Run Test"
run: npm run test
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: sauce-connect-log
path: ${{ env.SAUCE_CONNECT_DIR_IN_HOST }}/sauce-connect.log