Skip to content

chore(deps): update node.js to v18.20.5 #359

chore(deps): update node.js to v18.20.5

chore(deps): update node.js to v18.20.5 #359

Workflow file for this run

name: PR
on: [pull_request]
jobs:
build:
name: Lint, format, test and build
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Use Node LTS ✨
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
- name: Installing dependencies πŸ“¦οΈ
run: yarn install --immutable
- name: Lint πŸ’…
run: yarn lint
- name: Format πŸ”
run: yarn format:check
- name: Test πŸ§ͺ
run: yarn test --passWithNoTests
- name: Build πŸ”¨
run: yarn build
build-container:
name: Build container
runs-on: ubuntu-latest
env:
# Consider replacing Docker repository below, e.g. like this:
# IMAGE_NAME: ${{ secrets.CONTAINER_REPOSITORY }}/${{ inputs.name }}
IMAGE_NAME: bjerkio/${{ github.event.repository.name }}
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Docker meta 🏷
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=ref,event=pr
- name: Set up Docker Buildx πŸ”¨
id: buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker πŸ› 
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# Uncomment to enable caching
# cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:latest
cache-to: type=inline