From 0652518c665d40770af8fc603fb458f6e0d258e3 Mon Sep 17 00:00:00 2001 From: gokhangunduz Date: Mon, 11 Dec 2023 15:30:04 +0300 Subject: [PATCH] refactor(workflows): :tada: update action workflows --- .github/workflows/ci-cd.yml | 38 ++++++++++++++++++------------------- .github/workflows/dev.yaml | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index d41cc147..cbc84b02 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -1,22 +1,22 @@ -name: CI/CD +# name: CI/CD -on: - push: - branches: - - main +# on: +# push: +# branches: +# - main -jobs: - build: - runs-on: ubuntu-latest +# jobs: +# build: +# runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Use Node.js 18.x - uses: actions/setup-node@v2 - with: - node-version: "18.x" - - name: Install dependencies - run: npm install - - name: Build App - run: NODE_OPTIONS="--max-old-space-size=4096" npm run build --no-warnings +# steps: +# - name: Checkout code +# uses: actions/checkout@v2 +# - name: Use Node.js 18.x +# uses: actions/setup-node@v2 +# with: +# node-version: "18.x" +# - name: Install dependencies +# run: npm install +# - name: Build App +# run: NODE_OPTIONS="--max-old-space-size=4096" npm run build --no-warnings diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index 82497f78..fa39a96a 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -20,7 +20,7 @@ jobs: - name: Set environment secret to env variable run: | - export MY_SECRET_VARIABLE="${{ secrets }}" + export MY_SECRET_VARIABLE=env_test - name: test echo run: echo $MY_SECRET_VARIABLE