From 719b4a57912fb662314a90e4b4b5f1e3bd52e791 Mon Sep 17 00:00:00 2001 From: Ahmed Silat <105588821+ahmedsilat44@users.noreply.github.com> Date: Mon, 10 Oct 2022 16:21:11 +0500 Subject: [PATCH 1/3] Create main.yml --- .github/workflows/main.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 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..0e87c65 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: [ "vue" ] + pull_request: + branches: [ "vue" ] + + workflow_dispatch: + +jobs: + build: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest] + node: [16] + + + steps: + + - uses: actions/checkout@v3 + + - name: Setup node + uses: actions/setup-node@v2.1.2 + with: + node-version: ${{ matrix.node }} + + - name: Run a multi-line script + run: | + yarn install + yarn run lint + yarn run build From 49da930c3d919b0702b71c69440eb6a424d151f3 Mon Sep 17 00:00:00 2001 From: Ahmed Silat <105588821+ahmedsilat44@users.noreply.github.com> Date: Tue, 25 Oct 2022 23:16:33 +0500 Subject: [PATCH 2/3] Changed package manager --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e87c65..c18cead 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,6 @@ jobs: - name: Run a multi-line script run: | - yarn install - yarn run lint - yarn run build + npm install + npm run lint + npm run build From af483787c0c875ca157409c5843f2508f7597ec3 Mon Sep 17 00:00:00 2001 From: Ahmed Silat <105588821+ahmedsilat44@users.noreply.github.com> Date: Fri, 28 Oct 2022 14:42:53 +0500 Subject: [PATCH 3/3] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c18cead..fa39b1c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [16] + node: [14] steps: