Browse Source

Bump node & fix docker image (#178)

* Bump node & fix docker image

* Bump workflow node version as well
pull/179/head
baarkerlounger 3 years ago committed by GitHub
parent
commit
fc8a32cf49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/pipeline.yml
  2. 2
      .nvmrc
  3. 2
      Dockerfile
  4. 2
      package.json

2
.github/workflows/pipeline.yml

@ -60,7 +60,7 @@ jobs:
- name: Set up node - name: Set up node
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: '14' node-version: '16'
- name: Create DB - name: Create DB
run: | run: |

2
.nvmrc

@ -1 +1 @@
14 16

2
Dockerfile

@ -12,7 +12,7 @@ RUN apk add --update --no-cache tzdata && \
# build-base: complication tools for bundle # build-base: complication tools for bundle
# yarn: node package manager # yarn: node package manager
# postgresql-dev: postgres driver and libraries # postgresql-dev: postgres driver and libraries
RUN apk add --no-cache build-base yarn postgresql-dev RUN apk add --no-cache build-base yarn postgresql-dev git
# Install bundler to run bundle exec # Install bundler to run bundle exec
# This should be the same version as the Gemfile.lock # This should be the same version as the Gemfile.lock

2
package.json

@ -2,7 +2,7 @@
"name": "data-collector", "name": "data-collector",
"private": true, "private": true,
"engines": { "engines": {
"node": "^14.0.0" "node": "^16.0.0"
}, },
"dependencies": { "dependencies": {
"@activeadmin/activeadmin": "^2.9.0", "@activeadmin/activeadmin": "^2.9.0",

Loading…
Cancel
Save