Update lint workflow
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 325f0d8..7c5ccbb 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -18,13 +18,13 @@
steps:
- uses: actions/checkout@v3
- - uses: actions/setup-node@v3.6.0
+ - uses: cachix/install-nix-action@v19
with:
- node-version: 19.x
- - run: yarn install --immutable
+ github_access_token: ${{ secrets.GITHUB_TOKEN }}
+ - run: nix develop --command yarn install --immutable --immutable-cache --check-cache
- name: Show versions
- run: yarn run versions
+ run: nix develop --command yarn run versions
- name: Compile
- run: yarn build
+ run: nix develop --command yarn build
- name: Run prettier and eslint
- run: yarn lint-ci
+ run: nix develop --command yarn lint-ci