Skip to content

Commit

Permalink
Pin all deps including during release process
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse committed May 22, 2023
1 parent 443824a commit e0a135e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ jobs:
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: cachix/install-nix-action@29bd9290ef037a3ecbdafe83cbd2185e9dd0fa0a # v20
- run: nix-shell --run "pnpm install --frozen-lockfile"
- run: nix-shell --pure --run "pnpm install --frozen-lockfile"
- name: Typecheck
run: nix-shell --run "pnpm run typecheck"
run: nix-shell --pure --run "pnpm run typecheck"
- name: Build
run: nix-shell --run "pnpm run build"
run: nix-shell --pure --run "pnpm run build"
- name: Lint
run: nix-shell --run "pnpm run lint"
run: nix-shell --pure --run "pnpm run lint"
- name: Test
run: nix-shell --run "pnpm test"
run: nix-shell --pure --run "pnpm test"
- name: Mutation testing
run: nix-shell --run "pnpm run test-mutation"
run: nix-shell --pure --run "pnpm run test-mutation"
- name: Dry run release
run: nix-shell --pure --run "pnpm publish --dry-run --recursive --provenance --access public --no-git-checks"
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
2 changes: 1 addition & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_TOKEN }}
- run: nix-shell --run "pnpm publish --recursive --provenance --access public --no-git-checks"
- run: nix-shell --pure --run "pnpm publish --recursive --provenance --access public --no-git-checks"
2 changes: 1 addition & 1 deletion packages/vue-dompurify-html/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-dompurify-html",
"version": "4.1.2",
"version": "4.1.3",
"description": "Safe replacement for the v-html directive",
"license": "MIT",
"author": "Thomas Gerbet",
Expand Down
3 changes: 2 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

pkgs.mkShell {
buildInputs = [
pkgs.nodejs-slim-18_x
pkgs.nodejs_20
pkgs.nodePackages.pnpm
pkgs.ps
];
}

0 comments on commit e0a135e

Please sign in to comment.