Skip to content

Commit

Permalink
Release 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 4, 2023
1 parent a03e54a commit b505cd8
Show file tree
Hide file tree
Showing 166 changed files with 17,415 additions and 317 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.pnp.* binary linguist-generated
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
18 changes: 13 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ updates:
open-pull-requests-limit: 20
commit-message:
prefix: "build"
labels:
- "a:chore"
- "in:dependencies"

- package-ecosystem: npm
directory: '/'
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: daily
time: '00:00'
interval: "daily"
open-pull-requests-limit: 20
commit-message:
prefix: build
prefix: "build"
ignore:
- dependency-name: "@types/node"
update-types: ["version-update:semver-major"]
labels:
- "a:chore"
- "in:dependencies"
46 changes: 39 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
paths-ignore:
- '**.md'


env:
workspace_artifact: build-results


jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -21,15 +26,17 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: "yarn"

- run: npm ci

- run: npm run build
- name: Yarn build
run: yarn build

- uses: actions/upload-artifact@v3
with:
name: build-results
name: ${{ env.workspace_artifact }}
path: .
retention-days: 1


test-vcvarsall-invocation:
name: Test Developer Command Prompt Setup (${{ matrix.arch }}) - ${{ matrix.os }}
Expand All @@ -44,7 +51,7 @@ jobs:
- name: Checkout
uses: actions/download-artifact@v3
with:
name: build-results
name: ${{ env.workspace_artifact }}
path: .

- name: setup-msvc-dev
Expand All @@ -58,6 +65,7 @@ jobs:
where cl.exe
IF ERRORLEVEL 1 exit ERRORLEVEL
test-path-exports:
name: Test exporting tool paths - ${{ matrix.os }}
needs: build
Expand All @@ -70,7 +78,7 @@ jobs:
- name: Checkout
uses: actions/download-artifact@v3
with:
name: build-results
name: ${{ env.workspace_artifact }}
path: .

- name: setup-msvc-dev
Expand All @@ -85,4 +93,28 @@ jobs:

- name: 'Verify path to VS'
shell: cmd
run: IF NOT EXIST "%PATH_TO_VS%" exit 1
run: IF NOT EXIST "%PATH_TO_VS%" exit 1


# So, what's happening here?
#
# Basically, restoring the workspace state between jobs is incredibly annoying.
# We can get reasonable support by using the upload-/download-artifact
# actions, but they suffer from a severe limitation:
# GH Actions has a storage limit and the minimum retention is 24 hours...
#
# Since the storage quota is limited, we have to make sure that the artifact
# is removed. Unfortunately, there is no official way to do this, so we resort
# to a third party action for now.
#
# See also: https://github.com/actions/upload-artifact/issues/290
cleanup:
name: Cleanup
if: ${{ always() }}
needs: [test-vcvarsall-invocation, test-path-exports]
runs-on: ubuntu-latest
steps:
- name: Cleanup
uses: GeekyEggo/delete-artifact@54ab544f12cdb7b71613a16a2b5a37a9ade990af
with:
name: ${{ env.workspace_artifact }}
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ jobs:
with:
node-version: '16.x'

- run: npm ci

- run: npm run build

- run: npm install -g npm@7.x
- name: Yarn build
run: yarn build

- run: |
VERSION=`npm pkg get version`
Expand Down
11 changes: 9 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
!/.idea/scopes
!/.idea/icon.png

/.yarn/*
!/.yarn/cache
!/.yarn/patches
!/.yarn/plugins
!/.yarn/releases
!/.yarn/sdks
!/.yarn/versions

/dist
/node_modules
/release
/lib
Loading

0 comments on commit b505cd8

Please sign in to comment.