From 83b0d32673b90604b93c0456187622028c15773f Mon Sep 17 00:00:00 2001 From: yankomissarov Date: Wed, 20 Nov 2024 15:33:40 +0300 Subject: [PATCH] Fix github action --- .github/workflows/main.yml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae361bf..0f0f5ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,8 +16,8 @@ jobs: with: node-version: '20.x' registry-url: 'https://registry.npmjs.org' - - run: npm install --legacy-peer-deps - - run: rollup -c + - run: npm ci --legacy-peer-deps + - run: npm build - run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 29c6ee7..298487e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.16.0-alpine3.18 as builder +FROM node:20-alpine as builder WORKDIR /usr/src/app COPY . ./