Skip to content

Commit

Permalink
transform structure
Browse files Browse the repository at this point in the history
  • Loading branch information
sohbatSandhu committed Nov 17, 2024
1 parent 80679c7 commit e2eeebe
Show file tree
Hide file tree
Showing 76 changed files with 33 additions and 29 deletions.
Empty file removed .dvc/config
Empty file.
58 changes: 29 additions & 29 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,36 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Detect package manager
# id: detect-package-manager
# run: |
# if [ -f "${{ github.workspace }}/yarn.lock" ]; then
# echo "manager=yarn" >> $GITHUB_OUTPUT
# echo "command=install" >> $GITHUB_OUTPUT
# echo "runner=yarn" >> $GITHUB_OUTPUT
# exit 0
# elif [ -f "${{ github.workspace }}/package.json" ]; then
# echo "manager=npm" >> $GITHUB_OUTPUT
# echo "command=ci" >> $GITHUB_OUTPUT
# echo "runner=npx --no-install" >> $GITHUB_OUTPUT
# exit 0
# else
# echo "Unable to determine package manager"
# exit 1
# fi
uses: actions/checkout@v4

- name: Detect package manager
id: detect-package-manager
run: |
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
echo "manager=yarn" >> $GITHUB_OUTPUT
echo "command=install" >> $GITHUB_OUTPUT
echo "runner=yarn" >> $GITHUB_OUTPUT
exit 0
elif [ -f "${{ github.workspace }}/package.json" ]; then
echo "manager=npm" >> $GITHUB_OUTPUT
echo "command=ci" >> $GITHUB_OUTPUT
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
exit 0
else
echo "Unable to determine package manager"
exit 1
fi
# - name: Setup Node
- name: Setup Node

# uses: actions/setup-node@v4
# with:
# node-version: "20"
# cache: ${{ steps.detect-package-manager.outputs.manager }}
# uses: actions/setup-node@v4
# with:
# node-version: '20'
# cache: 'npm'
uses: actions/setup-node@v4
with:
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
# run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
run: echo "success" > success.txt

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nextjs-build-success
path: success.txt
File renamed without changes.
4 changes: 4 additions & 0 deletions mlops/.dvc/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[core]
remote = myremote
['remote "myremote"']
url = ../dvcstore
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e2eeebe

Please sign in to comment.