From 80d3060fa8750612922a5927bc50f53bfeb55e79 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 24 Mar 2021 18:26:52 +0100 Subject: [PATCH] Replace borales/actions-yarn with actions/setup-node --- .github/workflows/build.yml | 11 ++++------- .github/workflows/lint.yml | 16 +++++----------- .github/workflows/test.yml | 11 ++++------- 3 files changed, 13 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b64e57d..f04a081 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,11 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Install dependencies - uses: borales/actions-yarn@v2.0.0 + - uses: actions/setup-node@v2 with: - cmd: install - - name: Run production build - uses: borales/actions-yarn@v2.0.0 - with: - cmd: build + node-version: '14' + - run: yarn install + - run: yarn build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 84b059e..2083da8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,15 +7,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Install dependencies - uses: borales/actions-yarn@v2.0.0 + - uses: actions/setup-node@v2 with: - cmd: install - - name: Lint JavaScript/Vue files - uses: borales/actions-yarn@v2.0.0 - with: - cmd: lint:js - - name: Lint Markdown files - uses: borales/actions-yarn@v2.0.0 - with: - cmd: lint:md + node-version: '14' + - run: yarn install + - run: yarn lint:js + - run: yarn lint:md diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04f9a1e..3335849 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,11 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Install dependencies - uses: borales/actions-yarn@v2.0.0 + - uses: actions/setup-node@v2 with: - cmd: install - - name: Run unit tests - uses: borales/actions-yarn@v2.0.0 - with: - cmd: test + node-version: '14' + - run: yarn install + - run: yarn test