Skip to content

Commit

Permalink
Attempt sourcehut action
Browse files Browse the repository at this point in the history
  • Loading branch information
robsimmons committed Nov 19, 2023
1 parent 7fae0ea commit cf3aae3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .builds/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
image: ubuntu/jammy
secrets:
- c107faf9-3ef2-4ee0-83fa-e7693c38569b
sources:
- https://git.sr.ht/~robsimmons/dusa
tasks:
- setup: |
# From https://github.com/nodesource/distributions
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=20
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs -y
- install: |
cd dusa
npm --version
npm install
- test: |
cd dusa
npm run coverage
npm run prettier
npm run build
npm run lib
- github: |
echo "github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" > ~/.ssh/known_hosts
cd dusa
git remote add github [email protected]:robsimmons/dusa.git
git push github main
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.test.js

/.builds
/.github
/coverage
/dist
Expand Down

0 comments on commit cf3aae3

Please sign in to comment.