diff --git a/.forgejo/workflows/semver.yml b/.forgejo/workflows/semver.yml index 84eebdb..99ae3f8 100644 --- a/.forgejo/workflows/semver.yml +++ b/.forgejo/workflows/semver.yml @@ -6,13 +6,13 @@ on: jobs: semver: runs-on: ubuntu-latest - container: - image: node:21-alpine steps: - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "lts/*" + - name: Setup Yarn run: | - apk add --no-cache libc6-compat - apk update yarn set version canary yarn config set nodeLinker node-modules - name: Checkout @@ -20,7 +20,7 @@ jobs: with: fetch-depth: 0 - name: yarn install - run: yarn install + run: yarn install --immutable - name: Semver run: yarn run semantic-release env: diff --git a/Dockerfile b/Dockerfile index eea0822..c9dc122 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ WORKDIR /app COPY .gitignore .gitignore COPY package.json ./ COPY yarn.lock ./ -RUN yarn install +RUN yarn install --immutable COPY . .