From 3692c1b8c6fb6016a21e2be57d6a8350259b5b7d Mon Sep 17 00:00:00 2001 From: Takayuki Ueno Date: Mon, 24 Feb 2020 00:21:28 +0900 Subject: [PATCH 1/4] Create main.yml --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e54d08b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Run a one-line script + run: echo Hello, world! + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From c877b53117dff1335a80deb4f1f65f052d6c12a5 Mon Sep 17 00:00:00 2001 From: Takayuki Ueno Date: Mon, 24 Feb 2020 00:25:56 +0900 Subject: [PATCH 2/4] Update main.yml --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e54d08b..aaac7da 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: CI +name: Yarn CI on: [push] @@ -9,9 +9,9 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Run a one-line script - run: echo Hello, world! - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. + - name: yarn install + uses: nuxt/actions-yarn@node-11 + - name: yarn lint + uses: nuxt/actions-yarn@node-11 + with: + args: lint From 8af971b1c40059530b9c8f5131fd836f06ea5b4e Mon Sep 17 00:00:00 2001 From: Takayuki Ueno Date: Mon, 24 Feb 2020 00:27:44 +0900 Subject: [PATCH 3/4] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aaac7da..a16f9ee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,8 @@ jobs: - uses: actions/checkout@v2 - name: yarn install uses: nuxt/actions-yarn@node-11 + with: + args: install - name: yarn lint uses: nuxt/actions-yarn@node-11 with: From c1cfb8665236167c2a5ad8d415e847d3f2c35f5f Mon Sep 17 00:00:00 2001 From: Takayuki Ueno Date: Mon, 24 Feb 2020 00:33:55 +0900 Subject: [PATCH 4/4] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a16f9ee..ad0a441 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,8 @@ jobs: steps: - uses: actions/checkout@v2 + - name: install g++ + run: sudo apt-get install g++ build-essential - name: yarn install uses: nuxt/actions-yarn@node-11 with: