Skip to content

Commit

Permalink
chore: upgrade dependencies (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosvik authored Feb 19, 2024
1 parent 79e1c76 commit b0ee96c
Show file tree
Hide file tree
Showing 14 changed files with 3,499 additions and 18,145 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v16
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: install node v18
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- uses: actions/cache@v2
with:
path: "**/node_modules"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install node v16
uses: actions/setup-node@v3
- name: install node v18
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- name: npm install
run: npm install
- name: npm test
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
name: tsc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: install node v16
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
- name: npm install
run: npm install
- name: tsc
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.18.2
6 changes: 3 additions & 3 deletions Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# docker build -t 'gcr.io/atb-mobility-platform/atb-bff-test:sha' -f 'Dockerfile.test' .
# docker run -e host=https://atb-staging.api.mittatb.no gcr.io/atb-mobility-platform/atb-bff-test:sha

FROM node:16.18-alpine3.16 as dependencies
FROM node:18-alpine as dependencies
WORKDIR /test
COPY ./test/package.json /test/yarn.lock ./
RUN yarn install


FROM node:16.18-alpine3.16 as build
FROM node:18-alpine as build
WORKDIR /test
COPY --from=dependencies /test/node_modules ./node_modules
COPY ./test/src ./src
Expand All @@ -21,4 +21,4 @@ RUN yarn webpack
FROM grafana/k6:latest as run_tests
WORKDIR /test
COPY --from=build --chown=12345 /test/dist ./dist
ENTRYPOINT k6 run ./dist/k6.js
ENTRYPOINT k6 run ./dist/k6.js
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ docker run --rm -it -e PORT=8080 -p 8080:8080 -v $PWD:/app atb-bff:dev

#### Requirements

- Node.js
- Node.js >=18

Install node packages

Expand Down
Loading

0 comments on commit b0ee96c

Please sign in to comment.