Skip to content

Commit

Permalink
refactor(workflows): 🎉 update action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhangunduz committed Dec 11, 2023
1 parent 22ad6f8 commit 0652518
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0652518

Please sign in to comment.