Skip to content

Commit

Permalink
custom build and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFA11 committed Nov 4, 2024
1 parent 03b69f0 commit b660e1d
Show file tree
Hide file tree
Showing 4,077 changed files with 149 additions and 206,303 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 0 additions & 4 deletions .devcontainer/devcontainer.json

This file was deleted.

2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/ISSUE_TEMPLATE/Bug_report.md

This file was deleted.

29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/Feature_request.md

This file was deleted.

13 changes: 0 additions & 13 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/dependabot.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/auto-merge-dependabot.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "📦"
on:
push:
branches:
- master
workflow_dispatch:
inputs:
package_tag:
type: choice
description: "npm package tag"
required: true
default: canary
options:
- canary
- latest
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
build:
name: "⚡️"
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
- run: echo "NPM_PACKAGE_TAG=canary" >> $GITHUB_ENV
if: ${{ github.event.inputs.package_tag == null }}
- run: echo "NPM_PACKAGE_TAG=${{ github.event.inputs.package_tag }}" >> $GITHUB_ENV
if: ${{ github.event.inputs.package_tag != null }}
- run: echo "SHORT_GITHUB_SHA=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
- run: npm ci
- run: npm pkg set version="$(npx semver -c $(npm pkg get version))-${{ env.NPM_PACKAGE_TAG }}.${{ env.SHORT_GITHUB_SHA }}"
- run: npm run build-css && npm run generate-typings && npm run build-prod
- run: npm publish --provenance --access public --tag ${{ env.NPM_PACKAGE_TAG }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
70 changes: 0 additions & 70 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/create-bumb-version-pr.yml

This file was deleted.

Loading

0 comments on commit b660e1d

Please sign in to comment.