some cleaning #121
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: Validation Build | |
on: | |
pull_request: | |
branches: | |
- staging | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [10.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check that data is OK | |
run: . ./.github/scripts/check-unique-guid.sh | |
- name: Check that data is OK | |
run: . ./.github/scripts/check-unique-guid.sh | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: gulp build | |
- name: Get current time | |
uses: josStorer/[email protected] | |
id: current-time | |
with: | |
format: DD-MM-YYYY | |
- name: inject date | |
uses: cschleiden/replace-tokens@v1 | |
with: | |
files: '["**/*.html"]' | |
env: | |
BUILD_DATE: "${{ steps.current-time.outputs.formattedTime }}" | |
- name: Run the Transformer | |
run: | | |
pushd ./data/scripts | |
pip3 install pandas | |
python ./transform_to_ft.py | |
popd | |
- name: Run the Transformer | |
run: | | |
pushd ./data/scripts | |
pip3 install pandas | |
python ./transform_to_ft.py | |
popd | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: CheckList | |
path: dist |