Skip to content

Commit

Permalink
Merge pull request #56 from sebastienrousseau/0.2.469
Browse files Browse the repository at this point in the history
0.2.469
  • Loading branch information
sebastienrousseau authored Dec 18, 2024
2 parents 53de583 + 9d607a1 commit c29191e
Show file tree
Hide file tree
Showing 186 changed files with 6,563 additions and 2,596 deletions.
6 changes: 3 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - https://dotfiles.io
# Made with ♥ in London, UK by @wwdseb
# Copyright (c) 2015-2024. All rights reserved
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.469) - https://dotfiles.io
# Made with ♥ in London, UK by Sebastien Rousseau
# Copyright (c) 2015-2025. All rights reserved
# License: MIT

#
Expand Down
4 changes: 2 additions & 2 deletions .github/CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<img
src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
alt="dotfiles logo"
width="261"
width="66"
align="right"
/>

<!-- markdownlint-enable MD033 MD041 -->

# Dotfiles (v0.2.468)
# Dotfiles (v0.2.469)

Simply designed to fit your shell life 🐚

Expand Down
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<img
src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
alt="dotfiles logo"
width="261"
width="66"
align="right"
/>

<!-- markdownlint-enable MD033 MD041 -->

# Dotfiles (v0.2.468)
# Dotfiles (v0.2.469)

Simply designed to fit your shell life 🐚

Expand Down
4 changes: 2 additions & 2 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<img
src="https://kura.pro/dotfiles/v2/images/logos/dotfiles.svg"
alt="dotfiles logo"
width="261"
width="66"
align="right"
/>

<!-- markdownlint-enable MD033 MD041 -->

# Dotfiles (v0.2.468)
# Dotfiles (v0.2.469)

Simply designed to fit your shell life 🐚

Expand Down
145 changes: 77 additions & 68 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,97 +1,106 @@
name: Release

on: [push, pull_request]

#-----------------------------------------------------------------------------
# Events triggering this workflow
#-----------------------------------------------------------------------------
on:
push:
branches:
- main # Trigger on pushes to the 'main' branch
pull_request:
branches:
- main # Trigger on pull requests to the 'main' branch

#-----------------------------------------------------------------------------
# Jobs: Tasks executed as part of the release workflow
#-----------------------------------------------------------------------------
jobs:
# Build job
build:
name: Build the project
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [21.x]
node-version: [18, 21] # Test against Node.js 18 and 21

steps:
- run: echo ${{github.ref}}

- uses: actions/checkout@v3
# Step 1: Check out the repository
- name: Check out code
uses: actions/checkout@v3

- uses: pnpm/[email protected]
# Step 2: Set up Node.js
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
version: 7
node-version: ${{ matrix.node-version }} # Use the Node.js version from the matrix
cache: pnpm # Enable caching for pnpm dependencies

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
# Step 3: Set up pnpm
- name: Install pnpm
uses: pnpm/[email protected]
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
version: 8.6.3 # Specify a stable pnpm version

# Step 4: Install dependencies
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
run: pnpm install --frozen-lockfile # Ensure lockfile integrity

- name: Build
# Step 5: Build the project
- name: Build the project
run: pnpm run build

# publish:
# needs: build
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v2

# - uses: pnpm/[email protected]
# with:
# version: 7
# Step 6: Upload build artifacts
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: dist # Artifact name
path: ./dist # Directory containing the build output

# - name: Install dependencies
# run: pnpm install --no-frozen-lockfile
# Publish to NPM and GitHub registries
publish:
name: Publish the package
needs: build # Wait for the 'build' job to complete
runs-on: ubuntu-latest

# - name: Build
# run: pnpm run build
steps:
# Step 1: Check out the repository
- name: Check out code
uses: actions/checkout@v3

# - name: Pack
# run: pnpm pack
# Step 2: Download build artifacts
- name: Download build artifacts
uses: actions/download-artifact@v3
with:
name: dist # Artifact name from the 'build' job
path: ./dist # Directory to place the downloaded artifacts

# - name: Result
# run: ls -al ./dist
# Step 3: Set up Node.js
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18 # Use Node.js version 18
cache: pnpm # Enable pnpm cache

# - name: Publish to NPM
# run: pnpm publish --access public --tag latest --no-git-checks
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Step 4: Install pnpm
- name: Install pnpm
run: npm install -g pnpm

# - name: Set package registry
# run: pnpm config set registry https://npm.pkg.github.com
# Step 5: Authenticate with npm registry
- name: Authenticate with npm registry
run: pnpm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}

# - name: Github package registry authentication
# run: pnpm set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
# Step 6: Publish to npm registry
- name: Publish to npm registry
run: pnpm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# - name: Npm registry authentication
# run: pnpm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
# Step 7: Authenticate with GitHub Package Registry
- name: Authenticate with GitHub Package Registry
run: pnpm set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}

# - name: Publish the package to Github package registry
# run: pnpm publish --access public --tag latest --no-git-checks
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# Step 8: Publish to GitHub Package Registry
- name: Publish to GitHub Package Registry
run: pnpm publish --access public

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
run: npm install -g pnpm
- run: pnpm install
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
- name: Set package registry
run: pnpm config set registry https://npm.pkg.github.com
- name: Github package registry authentication
run: pnpm set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
- name: Npm registry authentication
run: pnpm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- name: Publish the package to Github and Npm package registries
run: pnpm publish --access=public
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
# Made with ♥ in London, UK by @wwdseb
# Copyright (c) 2015-2024. All rights reserved
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.469) - <https://dotfiles.io>
# Made with ♥ in London, UK by Sebastien Rousseau
# Copyright (c) 2015-2025. All rights reserved
# License: MIT

# Exclude Directories and package
Expand Down
6 changes: 3 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
# Made with ♥ in London, UK by @wwdseb
# Copyright (c) 2015-2024. All rights reserved
# 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.469) - <https://dotfiles.io>
# Made with ♥ in London, UK by Sebastien Rousseau
# Copyright (c) 2015-2025. All rights reserved
# License: MIT

; registry=https://npm.pkg.github.com/sebastienrousseau
Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.468) - <https://dotfiles.io>
* 🅳🅾🆃🅵🅸🅻🅴🆂 (v0.2.469) - <https://dotfiles.io>
* Made with ♥ in London, UK by @wwdseb
* Copyright (c) 2015-2024. All rights reserved
* License: MIT
Expand Down
Empty file removed Icon
Empty file.
Loading

0 comments on commit c29191e

Please sign in to comment.