Skip to content

Bump actions/checkout from 3 to 4 #162

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #162

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: compile src
run: npx tsc
- name: test if all files have been formatted with prettier
run: npx prettier -c src/**/*.ts
- name: linting/static code analysis
run: npx eslint src
- name: run tests
run: npx jest
- uses: docker/setup-buildx-action@v2
- name: build docker image
run: docker buildx build -t wishing-well .