bd5a5edf1b
add support for ubuntu 22.04, drop ubuntu-18.04 - [starting with 8 of August 2022 support for ubuntu 18.04 is deprecated](https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/) - [ubuntu 22.04 is generally available](https://github.blog/changelog/2022-08-09-github-actions-ubuntu-22-04-is-now-generally-available-on-github-hosted-runners/)
33 lines
668 B
YAML
33 lines
668 B
YAML
name: 'Dev Image CI'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '.github/workflows/dev-image.yml'
|
|
- '.dockerignore'
|
|
- '.nvmrc'
|
|
- 'Dockerfile'
|
|
- 'Makefile'
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
paths:
|
|
- '.github/workflows/dev-image.yml'
|
|
- '.dockerignore'
|
|
- '.nvmrc'
|
|
- 'Dockerfile'
|
|
- 'Makefile'
|
|
|
|
jobs:
|
|
dev-image-test:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make build
|
|
- run: make cirun cmd="npm ci"
|
|
# - run: make ciall
|
|
- run: make cirun cmd="npm run format:check"
|
|
- run: make cirun cmd="npm run lint"
|