#38 - Use HTTP Headers from published datasets URL to retrieve versioning of the application #188
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: SDS Viewer Workflow | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the specified branch | |
push: | |
branches: | |
- "master" | |
- "development" | |
pull_request: | |
branches: | |
- "master" | |
- "development" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
sds_viewer_test: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-20.04 | |
container: lironavon/docker-puppeteer-container:14.16.0 | |
env: | |
CI: true | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.X | |
- name: SDS Viewer elements snapshot test | |
run: | | |
#install dependencies | |
yarn | |
# run tests | |
npm run e2e_test | |
env: | |
CI: true |