This commit is contained in:
parent
35f95fcac1
commit
4f5bbac05e
1 changed files with 25 additions and 0 deletions
25
.forgejo/workflows/action.yml
Normal file
25
.forgejo/workflows/action.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
name: Test action
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
hello:
|
||||||
|
name: Print hello world
|
||||||
|
runs-on: default
|
||||||
|
steps:
|
||||||
|
- name: Install nodejs
|
||||||
|
run: nix-env -iA nixpkgs.nodejs
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- run: whoami
|
||||||
|
- run: node -v
|
||||||
|
- run: nix --version
|
||||||
|
|
||||||
|
- run: ls -al
|
||||||
|
|
||||||
|
- run: nix --extra-experimental-features "nix-command flakes pipe-operators" flake check
|
||||||
Loading…
Add table
Add a link
Reference in a new issue