• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A TurboRepo local cache server which uploads artifact cache to GH artifacts.

TurboRepo Github Artifacts action

This action allows you to use Github artifacts as TurboRepo remote cache server.

How it works?

It's starts a local TurboRepo server (on port 9080) and uses Github artifacts as a caching storage.

Setup

  1. Add in your workflow.yml the following section before TurboRepo runs:

    - name: TurboRepo local server
      uses: felixmosh/turborepo-gh-artifacts@v2
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
  2. Make turbo repo work with the local server

    Enable turbo remote caching though environment variables.

    - name: Build
      run: yarn build
      env:
        TURBO_API: 'http://127.0.0.1:9080'
        TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
        TURBO_TEAM: 'foo'

That's it πŸ˜‹.

Action inputs

The action has 1 required inputs:

  • repo-token - A Github token with repo permission, usually the default secrets.GITHUB_TOKEN is enough.

Pay ❀️, GITHUB_TOKEN must have actions: read permissions in order to be able to read repo's existing artifacts.

Working Example

Working example of the entire setup, based on npx create-turbo@latest.

Useful Links

More Repositories

1

bull-board

🎯 Queue background jobs inspector
TypeScript
2,309
star
2

knex-paginate

An extension of Knex's query builder with `paginate` method that will help with your pagination tasks.
JavaScript
112
star
3

i18next-hmr

I18Next HMRπŸ”₯ webpack / vite plugin that allows reload translation resources instantly on the client & the server.
JavaScript
107
star
4

knex-mock-client

A mock client for knex which allows you to write unit tests with DB interactions
TypeScript
53
star
5

knex-on-duplicate-update

A Knex plugin that adds .onDuplicateUpdate() function to knex's query builder.
JavaScript
28
star
6

i18next-locales-sync

Syncs i18next locale resource files against a primary language.
TypeScript
24
star
7

turborepo-gh-artifacts-example

Turborepo with Github action cache
JavaScript
8
star
8

postcss-extract-styles

PostCSS plugin that extracts styles from css based on decelerations matching.
JavaScript
4
star
9

postcss-decrease-specificity

PostCSS plugin that decreases the specificity of given selector
JavaScript
3
star
10

rspack-express-js

Express.js app bundled with Rspack with HMR
TypeScript
2
star
11

kodi-addon-release

Bump KODI addon version, create tag, update changelog, commit and release the addon in one step.
JavaScript
2
star
12

cibus-chrome-extension

A Chrome Extension to help you monitor your Cibus expenses.
TypeScript
2
star
13

babel-plugin-transform-react-remove-display-name

Make React component `displayName` property available only in none production environment during the build ✨
TypeScript
1
star
14

electric-pulse

A pi pico electric pulse meter
Python
1
star
15

tpa-style-scss

Set of SCSS functions that help you to build TPA style custom syntax.
SCSS
1
star