diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 480c5bbe..0d5ec209 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Build and push to Docker Hub uses: docker/build-push-action@v1 with: diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7ded08e4..11ee1e00 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,12 +16,12 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 15.x, 16.x] + node-version: [12.x, 14.x, 15.x, 16.x, 18.x, 20.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm ci diff --git a/Dockerfile b/Dockerfile index 8f2a58de..c4fc40cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-alpine +FROM node:20-alpine ENV LIBRARY_PATH=/lib:/usr/lib RUN mkdir /bot