fix: dockerfile syntax #2
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: pipeline | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request_target: | |
branches: [main] | |
jobs: | |
pipeline: | |
runs-on: ubuntu-latest | |
name: Pipeline | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: yarn | |
cache-dependency-path: yarn.lock | |
- name: Install packages | |
run: yarn install --frozen-lockfile | |
- name: Run Typescript Checks | |
run: yarn lint | |
- name: Run Tests | |
run: yarn test | |
- name: Build Node App | |
run: yarn build | |
# - name: Login to ghcr | |
# uses: docker/login-action@v1 | |
# with: | |
# registry: ghcr.io | |
# username: ${{ github.repository_owner }} | |
# password: ${{ secrets.GITHUB_TOKEN }} | |
# | |
# - name: Build Docker Container | |
# run: yarn semantic-release | |
# env: | |
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |