mirror of
https://github.com/rowtype-yoga/purs-eval.git
synced 2024-11-22 09:52:09 +03:00
feat: add purs-eval npm publication
This commit is contained in:
parent
5a0f77fe83
commit
a3fe337665
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -7,13 +7,18 @@ jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v18
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- run: nix build
|
||||
- uses: google-github-actions/release-please-action@v3
|
||||
id: release
|
||||
with:
|
||||
release-type: node
|
||||
package-name: purs-eval
|
||||
# The logic below handles the npm publication:
|
||||
- uses: actions/checkout@v3
|
||||
# The logic below handles the npm publication:
|
||||
# these if statements ensure that a publication only occurs when
|
||||
# a new release is created:
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
|
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -10,5 +10,4 @@ jobs:
|
||||
with:
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- run: nix build
|
||||
- run: nix flake check
|
||||
|
6
.npmignore
Normal file
6
.npmignore
Normal file
@ -0,0 +1,6 @@
|
||||
/.github
|
||||
/flake.*
|
||||
/test
|
||||
/src
|
||||
/test
|
||||
/.psc-ide-port
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -4,6 +4,10 @@
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "purs-eval",
|
||||
"bin": {
|
||||
"purs-eval": "result/bin/purs-eval"
|
||||
},
|
||||
"devDependencies": {
|
||||
"xhr2": "^0.2.1"
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "purs-eval",
|
||||
"bin": "result/bin/purs-eval",
|
||||
"devDependencies": {
|
||||
"xhr2": "^0.2.1"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user