feat(exploration): ajout d'un nouveau notebook pour analyser le traffic des pages de la métallurgie avant et après le 1er janvier 2024 #1281
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: Node.js CI | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# - uses: fixpoint/azblob-download-artifact@v3 | |
# with: | |
# connection-string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} | |
# container: logs | |
# name: test-data.csv | |
# path: /data/ | |
# - run: head -c 30 /data/test-data.csv | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
cache: yarn | |
- run: yarn --frozen-lockfile | |
- run: yarn lint | |
- run: yarn test | |
env: | |
CDTN_API_URL: https://code-du-travail-numerique-dev.dev.fabrique.social.gouv.fr | |
ELASTICSEARCH_URL: ${{ secrets.ELASTIC_URL }} | |
API_KEY: ${{ secrets.ELASTIC_API_KEY }} | |
- run: yarn build:bin | |
- run: yarn build:lib | |
- run: yarn start --version | |
env: | |
CDTN_API_URL: https://code-du-travail-numerique-dev.dev.fabrique.social.gouv.fr | |
- run: yarn start --help | |
env: | |
CDTN_API_URL: https://code-du-travail-numerique-dev.dev.fabrique.social.gouv.fr | |
- uses: codecov/codecov-action@v2 |