-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: update to spago@next locally tests dont work, but on ci - work * feat: remove old spago.dhall * feat: tests -> add --pedantic-packages * feat: ditch setup-purescript here and install purs and spago via npm
- Loading branch information
Showing
7 changed files
with
44 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,23 +9,18 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up PureScript toolchain | ||
uses: purescript-contrib/setup-purescript@main | ||
with: | ||
purescript: "unstable" | ||
|
||
- name: Cache PureScript dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }} | ||
key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.yaml') }} | ||
path: | | ||
.spago | ||
output | ||
- name: Set up Node toolchain | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14.x" | ||
node-version: "20.x" | ||
|
||
- name: Cache NPM dependencies | ||
uses: actions/cache@v2 | ||
|
@@ -39,6 +34,9 @@ jobs: | |
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- name: Install NPM dependencies | ||
run: npm install -g spago@next purescript@latest | ||
|
||
- name: Install NPM dependencies | ||
run: npm install | ||
|
||
|
@@ -55,6 +53,6 @@ jobs: | |
|
||
- name: Verify Bower & Pulp | ||
run: | | ||
npm install bower [email protected].0-0 | ||
npm install bower [email protected].2 | ||
npx bower install | ||
npx pulp build -- --censor-lib --strict | ||
npx pulp build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,7 @@ bower_components | |
node_modules | ||
package-lock.json | ||
*.lock | ||
|
||
test1.txt | ||
test.txt | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"build": "eslint src && spago build --purs-args '--censor-lib --strict'", | ||
"build": "eslint src && spago build --strict --censor-stats --pedantic-packages", | ||
"test": "spago test --no-install" | ||
}, | ||
"devDependencies": { | ||
"@vercel/ncc": "^0.27.0", | ||
"eslint": "^7.22.0" | ||
"@vercel/ncc": "^0.38.1", | ||
"eslint": "^8.57.0" | ||
}, | ||
"dependencies": { | ||
"@actions/cache": "^1.0.6", | ||
"@actions/core": "^1.2.6", | ||
"@actions/exec": "^1.0.4", | ||
"@actions/io": "^1.0.2", | ||
"@actions/tool-cache": "^1.6.1" | ||
"@actions/cache": "^3.2.4", | ||
"@actions/core": "^1.10.1", | ||
"@actions/exec": "^1.1.1", | ||
"@actions/io": "^1.1.3", | ||
"@actions/tool-cache": "^2.0.1" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package: | ||
name: github-actions-toolkit | ||
dependencies: | ||
- aff | ||
- aff-promise | ||
- control | ||
- effect | ||
- exceptions | ||
- foreign-object | ||
- maybe | ||
- node-buffer | ||
- node-path | ||
- node-streams | ||
- nullable | ||
- prelude | ||
- transformers | ||
test: | ||
main: Test.Main | ||
dependencies: | ||
- either | ||
workspace: | ||
package_set: | ||
registry: 50.4.0 | ||
extra_packages: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters