fix eslint rule #4
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: Development Env | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set Up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "20.10" | |
cache: 'npm' | |
- name: Install Package | |
run: yarn install | |
- name: Unit Test | |
run: yarn run test | |
- name: Build Code | |
run: yarn build | |
docker-build: | |
runs-on: ubuntu-latest | |
needs: deployment | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Image | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
file: dockerfiles/dev.dockerfile | |
push: false |