Bump actions/checkout from 3 to 4 (#12) #37
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: Sauce Labs | |
on: push | |
concurrency: sauce-labs | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install | |
run: npm install | |
env: | |
# Download Sauce Connect binary now instead of on first run | |
SAUCE_CONNECT_DOWNLOAD_ON_INSTALL: true | |
- name: Add host | |
run: echo "127.0.0.1 airtap.local" | sudo tee -a /etc/hosts | |
# - name: Test | |
# run: npm run test-browsers | |
# env: | |
# SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | |
# SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | |
# - name: Coverage | |
# run: npm run coverage | |
# - name: Codecov | |
# uses: codecov/codecov-action@v2 | |
# with: | |
# file: coverage/lcov.info |