Skip to content

Commit

Permalink
Moved to bun from yarn/node (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
yatish27 authored May 11, 2024
1 parent f1cfada commit 5124e12
Show file tree
Hide file tree
Showing 19 changed files with 1,963 additions and 4,161 deletions.
65 changes: 48 additions & 17 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,48 @@
.bundle
.env
.env.*
docker-compose.*
docker/Dockerfile
docker/dockerfiles
log
storage
public/system
tmp
.codeclimate.yml
public/packs
node_modules
vendor/bundle
.DS_Store
*.swp
*~
# See https://docs.docker.com/engine/reference/builder/#dockerignore-file for more about ignoring files.

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
/config/credentials/*.key

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore pidfiles, but keep the directory.
/tmp/pids/*
!/tmp/pids/.keep

# Ignore storage (uploaded files in development and any SQLite databases).
/storage/*
!/storage/.keep
/tmp/storage/*
!/tmp/storage/.keep

# Ignore assets.
/node_modules/
/app/assets/builds/*
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,10 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: corepack enable
- name: Install Yarn conditionally
run: npm install yarn
- name: Setup Node.js
uses: actions/setup-node@v4
- uses: oven-sh/setup-bun@v1
with:
node-version: "18.12.1"
cache-dependency-path: yarn.lock
bun-version: 1.1.8
- run: bun install
- run: bundle exec rake db:migrate
- run: bundle exec rake test:all
rubocop:
Expand Down
Loading

0 comments on commit 5124e12

Please sign in to comment.