Skip to content

Commit

Permalink
Javascript rewrite for startup performance reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
jgiannuzzi committed Feb 15, 2021
1 parent ecdb443 commit 1228c08
Show file tree
Hide file tree
Showing 11 changed files with 15,713 additions and 75 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@ name: CI
on:
push:

env:
IMAGE: ghcr.io/jgiannuzzi/setup-build-matrix
TAG: v1.0.0

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build Docker image
run: docker build -t $IMAGE:$TAG .
- name: Test action
uses: ./
id: test
Expand All @@ -39,8 +33,3 @@ jobs:
- name: Verify output
run: |
[ '${{ steps.test.outputs.matrix }}' == '{"include":[{"os":"ubuntu-latest","component":"backend","dotnet":"3.1.405"},{"os":"ubuntu-latest","component":"backend","dotnet":"5.0.102"},{"os":"ubuntu-latest","component":"ui","dotnet":"3.1.405","node":"14.15.4"},{"os":"ubuntu-latest","component":"ui","dotnet":"3.1.405","node":"15.6.0"},{"os":"ubuntu-latest","component":"ui","dotnet":"5.0.102","node":"14.15.4"},{"os":"ubuntu-latest","component":"ui","dotnet":"5.0.102","node":"15.6.0"},{"os":"windows-latest","component":"backend","dotnet":"3.1.405"},{"os":"windows-latest","component":"backend","dotnet":"5.0.102"},{"os":"windows-latest","component":"ui","dotnet":"3.1.405","node":"14.15.4"},{"os":"windows-latest","component":"ui","dotnet":"3.1.405","node":"15.6.0"},{"os":"windows-latest","component":"ui","dotnet":"4.7.2","node":"14.15.4"},{"os":"windows-latest","component":"ui","dotnet":"4.7.2","node":"15.6.0"},{"os":"windows-latest","component":"ui","dotnet":"5.0.102","node":"14.15.4"},{"os":"windows-latest","component":"ui","dotnet":"5.0.102","node":"15.6.0"}]}' ]
- name: Push Docker image
if: github.ref == format('refs/tags/{0}', env.TAG)
run: |
echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker push $IMAGE:$TAG
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
9 changes: 0 additions & 9 deletions Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ outputs:
description: A build matrix to use in your jobs

runs:
using: docker
image: docker://ghcr.io/jgiannuzzi/setup-build-matrix:v1.0.0
using: node12
main: dist/index.js

0 comments on commit 1228c08

Please sign in to comment.