Coder Social home page Coder Social logo

action-typescript's Introduction

linz/action-typescript

Composite action to checkout/build/test typescript with npm or yarn.

usage:

name: push

on: 
  push:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: linz/action-typescript@v3

Example github action, using both the composite action and reusable workflow

name: push

on: 
  push:

jobs:
  reusable-workflow:
    uses: linz/action-typescript/.github/workflows/main.yml@v3
    with:
      node-version: "20.x"
      registry-url: "https://npm.pkg.github.com"
      package-manager: "npm"

  composite-action:
    runs-on: ubuntu-latest
    steps: 
      - name: Build and test
        uses: linz/action-typescript@v3
        with:
          node-version: "20.x"
          registry-url: "https://npm.pkg.github.com"
          package-manager: "npm"

action-typescript's People

Contributors

blacha avatar dependabot[bot] avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

action-typescript's Issues

Node.js 22 support

linz/argo-tasks#1003 broke when updating to Node.js 22, seemingly because of a change in the node CLI. Changing node --test build/ to node --test fixes the issue locally.

Release unchanging versions

Using the branch name as the version ID is confusing, non-standard, and means it's not possible to pin a uses directive to a (hopefully non-moving) tag. Basically, if linz/action-typescript@v1 changes in some way, this could break dependent projects in ways which are hard to debug. It would be good if this project used the standard release mechanism (or just tags rather than branches) instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.