Merge pull request #94 from akirak/nixfmt-rfc-style #90
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
name: Check node-typescript | |
on: | |
push: | |
paths: | |
- node-typescript/** | |
- .github/workflows/check-node-typescript.yml | |
workflow_dispatch: | |
workflow_call: | |
concurrency: | |
group: check-node-typescript-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: cachix/install-nix-action@V27 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
with: | |
path: ./tmp | |
- run: nix flake new -t ./tmp#node-typescript ./work | |
- name: Prepare the project | |
working-directory: work | |
run: | | |
git init | |
git add . | |
- run: nix develop -L -c tsc --version | |
working-directory: work | |
- run: nix develop -L -c typescript-language-server --version | |
working-directory: work |