Skip to content

Commit 0354e8f

Browse files
authored
Update npm deps and ci (#61)
* Update npm deps and ci * Commit package-lock * Add test script * Update test package-set * Disable parse-package-set for now
1 parent c3fa31b commit 0354e8f

File tree

5 files changed

+2662
-19
lines changed

5 files changed

+2662
-19
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,37 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
14-
15-
- uses: purescript-contrib/setup-purescript@main
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
1615
with:
17-
purescript: "0.15.8"
18-
spago: "0.20.9"
19-
psa: "0.8.2"
20-
purs-tidy: "latest"
16+
node-version: 22
17+
cache: 'npm'
2118

2219
- name: Cache PureScript dependencies
23-
uses: actions/cache@v2
20+
uses: actions/cache@v4
2421
with:
2522
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
2623
path: |
2724
.spago
2825
output
2926
30-
- name: Build source
31-
run: spago build --purs-args '--censor-lib --strict'
27+
- name: Install npm dependencies
28+
run: npm install --include=dev
29+
30+
- name: Install dependencies
31+
run: npm run install
32+
33+
- name: Build project
34+
run: npm run build
3235

3336
- name: Run tests
34-
run: spago test
37+
run: npm run test
3538

3639
- name: Check formatting
37-
run: npm run check
40+
run: npm run format:check
3841

39-
- name: Parse package sets
40-
run: npm run parse-package-set
42+
# - name: Parse package sets
43+
# run: npm run parse-package-set
4144

4245
- name: Run file benchmark
4346
run: npm run bench-file src/PureScript/CST/Parser.purs

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ generated-docs
1010
.psa*
1111
.spago
1212

13-
package-lock.json
1413
*.lock

0 commit comments

Comments
 (0)