Files
streetmerchant/.github/workflows/ci.yaml
T
dependabot[bot] 2f57632479 chore(deps): bump dorny/paths-filter from v2.5.0 to v2.5.1 (#602)
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from v2.5.0 to v2.5.1.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/v2.5.0...b37d4e9e86f9ae7facbf4a3cc58d98e7139cfc31)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 11:16:32 -04:00

40 lines
951 B
YAML

name: ci
on:
pull_request:
branches:
- main
paths-ignore:
- '**.md'
jobs:
build-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.2
with:
node-version: 14
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Add problem matcher
run: echo "::add-matcher::.github/xo-problem-matcher.json"
- name: Pull dependencies
run: |
npm ci
npm run build
npm run lint
build-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2.5.1
id: changes
with:
filters: |
src:
- 'Dockerfile'
- name: Build image
run: docker build .