Bump @types/node from 20.12.12 to 22.1.0 #190
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- 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 . | |