Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
fix: upgrade WEEZ 140922 (#216)
Browse files Browse the repository at this point in the history
* fix: upgrade WEEZ 150323

* fix:Dockerfile

* fix: dockerfile
  • Loading branch information
Julien Bouquillon authored Mar 21, 2023
1 parent ba355ce commit 299f2bb
Show file tree
Hide file tree
Showing 4 changed files with 1,844 additions and 1,683 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,33 @@ name: Tests
on:
pull_request:
branches:
- '**'
- "**"

concurrency:
cancel-in-progress: true
group: ${{ github.head_ref }}

jobs:

##############################################################################
## TEST APPLICATION
##############################################################################
test:
name: Test application
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Checkout repository
uses: actions/checkout@v2

- name: Node setup
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Node setup
uses: actions/setup-node@v2
with:
node-version: "18"

- name: Yarn cache setup
uses: c-hive/gha-yarn-cache@v2
- name: Yarn cache setup
uses: c-hive/gha-yarn-cache@v2

- name: Install dependencies
run: yarn --frozen-lockfile --prefer-offline
- name: Install dependencies
run: yarn --frozen-lockfile --prefer-offline

- name: Run tests
run: yarn test --coverage
- name: Run tests
run: yarn test --coverage
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:17-alpine
FROM node:18-alpine

WORKDIR /app

Expand All @@ -9,7 +9,8 @@ COPY yarn.lock .

ENV NODE_ENV=production

RUN yarn install --production --frozen-lockfile
# we dont need kali-data itself in the docker image
RUN yarn install --production --frozen-lockfile && yarn cache clean && rm -rf node_modules/@socialgouv/kali-data/data/KALI*.json

COPY . .

Expand Down
Binary file modified data/WEEZ.csv.gz
Binary file not shown.
Loading

0 comments on commit 299f2bb

Please sign in to comment.