25 lines
No EOL
458 B
YAML
25 lines
No EOL
458 B
YAML
name: Test action
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
hello:
|
|
name: Print hello world
|
|
runs-on: default
|
|
steps:
|
|
- name: Install deps
|
|
# run: nix-shell -p nodejs_24
|
|
run: nix-env -iA nixos.nodejs_24
|
|
|
|
- run: whoami
|
|
- run: . /nix/var/nix/profiles/default/etc/profile.d/nix.sh
|
|
- run: nix-env -qa
|
|
- run: node -v
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- run: nix flake check |