Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

chore(web-diary): deploy workflow added #79

Merged
merged 7 commits into from
May 6, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy project
on:
push:
branches:
- master
jobs:
web-diary:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: yarn install
- name: build app
TFK70 marked this conversation as resolved.
Show resolved Hide resolved
run: yarn workspace @practice/web-diary build
- name: Lint
run: yarn lint
- name: TypeCheck
run: yarn typecheck
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: practice/web-diary/dist
2 changes: 2 additions & 0 deletions .github/workflows/lintcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:

- name: Lint
run: yarn lint
- name: TypeCheck
run: yarn typecheck
1 change: 1 addition & 0 deletions practice/web-diary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0",
"main": "index.js",
"license": "MIT",
"repository": "https://github.com/atls-academy/frontend-study-gochicus.github.io",
"scripts": {
"start": "webpack serve",
"build": "webpack --mode production"
Expand Down
Loading