Skip to content

Commit

Permalink
Install semantic-release via Nix (#22)
Browse files Browse the repository at this point in the history
* Install semantic-release via Nix

* Revert some changes
  • Loading branch information
sestrella authored Jan 4, 2024
1 parent 426425a commit 0587469
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6,195 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npx semantic-release
- uses: cachix/install-nix-action@v24
- run: nix develop --impure -c semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.devenv/
.direnv/
.ghcup/
node_modules/

.devenv.flake.nix
.devenv
.direnv
.pre-commit-config.yaml
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
modules = [
{
# https://devenv.sh/reference/options/
languages.javascript.enable = true;
packages = [
pkgs.semantic-release
];

pre-commit.hooks = {
shellcheck.enable = true;
Expand Down
Loading

0 comments on commit 0587469

Please sign in to comment.