Skip to content

chore(deps): lock file maintenance #343

chore(deps): lock file maintenance

chore(deps): lock file maintenance #343

Workflow file for this run

on:
pull_request:
push:
branches:
- main
- beta
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: nix flake check --show-trace
release:
needs: test
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'recap-utr' && github.event_name == 'push' }}
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: nix profile install .#release-env
- uses: cihelper/action-semanticrelease-npm@v1
with:
npm-token: ${{ secrets.NPM_TOKEN }}
npm-install: true