-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release-As: 0.3.0
- Loading branch information
Showing
45 changed files
with
5,026 additions
and
9,063 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[*.{js,jsx,ts,tsx,vue,json}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This workflow runs through the test suite | ||
|
||
name: ci | ||
|
||
on: | ||
|
@@ -12,107 +14,109 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: [16.x] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
- name: Clone Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.x.x | ||
|
||
- name: Install PNPM | ||
uses: pnpm/action-setup@v2 | ||
id: pnpm-install | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
- name: Get PNPM Store Directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- name: Set node version to 16 | ||
uses: actions/setup-node@v2 | ||
- name: Setup PNPM Cache | ||
uses: actions/cache@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
- name: Install dependencies | ||
run: pnpm install --ignore-scripts | ||
- name: Install Dependencies | ||
run: pnpm install --ignore-scripts --frozen-lockfile | ||
|
||
- name: Build library | ||
- name: Build Library | ||
run: pnpm run build | ||
test-lint: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: [16.x] | ||
test-lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
- name: Clone Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: Set node version to 16 | ||
uses: actions/setup-node@v2 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --ignore-scripts | ||
node-version: 20.x.x | ||
|
||
- name: Test lint | ||
run: pnpm run test:lint | ||
test-unit: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: [16.x] | ||
- name: Install PNPM | ||
uses: pnpm/action-setup@v2 | ||
id: pnpm-install | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
- name: Get PNPM Store Directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: Set node version to 16 | ||
uses: actions/setup-node@v2 | ||
- name: Setup PNPM Cache | ||
uses: actions/cache@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install --ignore-scripts | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
- name: Test unit | ||
run: pnpm run test:unit | ||
- name: Install Dependencies | ||
run: pnpm install --ignore-scripts --frozen-lockfile | ||
|
||
test-coverage: | ||
runs-on: ${{ matrix.os }} | ||
- name: Test Lint | ||
run: pnpm run test:lint:ci | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: [16.x] | ||
test-unit: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v3 | ||
- name: Clone Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.x.x | ||
|
||
- name: Install PNPM | ||
uses: pnpm/action-setup@v2 | ||
id: pnpm-install | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
- name: Get PNPM Store Directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- name: Set node version to 16 | ||
uses: actions/setup-node@v2 | ||
- name: Setup PNPM Cache | ||
uses: actions/cache@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
- name: Install dependencies | ||
run: pnpm install --ignore-scripts | ||
- name: Install Dependencies | ||
run: pnpm install --ignore-scripts --frozen-lockfile | ||
|
||
- name: Test coverage | ||
run: pnpm run test:coverage | ||
- name: Test Unit | ||
run: pnpm run test:unit:ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# This workflow will publish the main package to GitHub Packages when a release is created | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | ||
|
||
name: npm-publish-main | ||
|
||
on: | ||
release: | ||
types: [created] | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
publish-npm-main: | ||
permissions: | ||
id-token: write | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: 'main' | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.x.x | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install PNPM | ||
uses: pnpm/action-setup@v2 | ||
id: pnpm-install | ||
|
||
- name: Get PNPM Store Directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- name: Setup PNPM Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
- name: Install Dependencies | ||
run: pnpm install --ignore-scripts --frozen-lockfile | ||
|
||
- name: Build Library | ||
run: pnpm run build --filter "@boindil/bootstrap-vue-next-icons" | ||
|
||
- name: Publish Main | ||
run: pnpm publish --tag latest --filter "@boindil/bootstrap-vue-next-icons" --access=public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
NPM_CONFIG_PROVENANCE: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.