Skip to content

Merge pull request #3 from zainuldeen/master #58

Merge pull request #3 from zainuldeen/master

Merge pull request #3 from zainuldeen/master #58

Workflow file for this run

name: Data Scraping
on: push
jobs:
installDependencies:
name: Install Dependencies
runs-on: ubuntu-latest
environment: myenvironment
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
uses: actions/setup-node@v2
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true"
with:
args: install
- name: Test Code
uses: mujo-code/[email protected]
env:
CI: "true"
with:
args: npx yarn
- name: Make envfile
uses: SpicyPizza/[email protected]
with:
envkey_SESSION_ID: ${{ secrets.SESSION_ID }}
envkey_apiKey: ${{ secrets.apiKey }}
envkey_authDomain: ${{ secrets.authDomain }}
envkey_projectId: ${{ secrets.projectId }}
envkey_storageBucket: ${{ secrets.storageBucket }}
envkey_messagingSenderId: ${{ secrets.messagingSenderId }}
envkey_appId: ${{ secrets.appId }}
envkey_measurementId: ${{ secrets.measurementId }}
# - name: create env file
# run: |
# touch .env
# echo SESSION_ID=${{ secrets.ENV_FILE }} >> .env
# echo SESSION_ID=${{ secrets.SESSION_ID }}
- run: npx yarn
- run: npx yarn test
- run: npx yarn test