Commit graph

292 commits

Author SHA1 Message Date
Edmund Miller
3323654b16
ci: Add a test for PR #14 2023-06-23 14:37:20 -05:00
Edmund Miller
b9495c9762
Merge pull request #14 from data-intuitive/add-try-catch
Add try catch to fs.renameSync
2023-06-23 14:36:56 -05:00
Robrecht Cannoodt
be72b1dc0f If fs.renameSync fails (e.g. because source and destination files are on different partitions), try fs.copySync and fs.unlinkSync instead. 2023-06-22 09:18:37 +02:00
519edf8749
refactor: Add redirect for publishing action
The publishing action assumes that main in package.json points to the
entrypoint of the action. Since v1.2.0, however, that is no longer the
case. Rather than try a new system (or dive deep into the internals of
npm and what every directive means), we'll trick the action into uploading
the correct script by modifying the package.json file right before upload.
Add that hack.
2023-05-23 16:06:28 -05:00
56d7f33dac chore: Upgrade package version number 2023-05-23 14:17:57 +00:00
dfa1b1c089 fix: Change README to point to latest version 2023-05-23 14:17:57 +00:00
5d4efee5a2 chore: Update CHANGELOG 2023-05-23 14:17:57 +00:00
fe166f9eb6 refactor: Add short-circuit cache checking for already-installed Nextflow 2023-05-18 12:49:37 +00:00
545262d3b9 feat: Add tool-cache checking function 2023-05-18 12:49:37 +00:00
Edmund Miller
0aeab8d284 style: Use double-quotes
Co-authored-by: ewels <ewels@users.noreply.github.com>
2022-11-17 19:32:25 +00:00
Edmund Miller
05aef69bc1 ci: Don't double run jobs 2022-11-17 19:32:25 +00:00
Edmund Miller
57e49670a9 ci: Create seperate dev workflow checks 2022-11-17 19:32:25 +00:00
Edmund Miller
46187cd528 test: Add main test from template
Doesn't work yet though
2022-11-17 19:32:25 +00:00
Edmund Miller
95a4337530 style: Add simple-import-sort and run 2022-11-17 19:32:25 +00:00
Edmund Miller
981cd4fc2e style: Set bracketSpacing to true 2022-11-17 19:32:25 +00:00
Edmund Miller
7c79f790e0 chore: Clean up typing in tests 2022-11-17 19:32:25 +00:00
Edmund Miller
c3424c52c4 chore: Clean up release sorting types 2022-11-17 19:32:25 +00:00
Edmund Miller
93ff0f7ef2 test: Write tests for release_data function 2022-11-17 19:32:25 +00:00
Edmund Miller
c19a8b88ef chore: handle octokit typing 2022-11-17 19:32:25 +00:00
Edmund Miller
7a0ec2a9b4 chore: Clean up a bunch of object references
https://medium.com/@kgdilipchandana/how-to-solve-error-ts2339-property-label-does-not-exist-on-type-in-angular-5-db01843ef6a
2022-11-17 19:32:25 +00:00
Edmund Miller
955a936296 chore: Clean up some catch errors 2022-11-17 19:32:25 +00:00
Edmund Miller
a14c1ba3a6 ci: Add build step 2022-11-17 19:32:25 +00:00
Edmund Miller
edde65cf1e build: lib => lib/src 2022-11-17 19:32:25 +00:00
Edmund Miller
ab89b450a6 chore: Remove eslint failure for ava import 2022-11-17 19:32:25 +00:00
Edmund Miller
3f231d1a10 ci: Update hoops to jump through 2022-11-17 19:32:25 +00:00
Edmund Miller
03b7b3e3d3 test: Remove main test for now 2022-11-17 19:32:25 +00:00
Edmund Miller
0541993f3c build: Update scripts to be more selective on files
And run on test files
2022-11-17 19:32:25 +00:00
Edmund Miller
205818f4d8 style: format-check => format:check 2022-11-17 19:32:25 +00:00
Edmund Miller
4ad727836d ci: Split up steps 2022-11-17 19:32:25 +00:00
Edmund Miller
aebdb951b0 style: Fix all eslint errors 2022-11-17 19:32:25 +00:00
Edmund Miller
ea5ce95ba5 test: Add basic call for release_data
I just want these for the typechecks
2022-11-17 19:32:25 +00:00
Edmund Miller
ed6b338f42 test: Add test for latest_stable_release_data 2022-11-17 19:32:25 +00:00
Edmund Miller
6cafaa8e2c test: Add initial check for all_nf_releases 2022-11-17 19:32:25 +00:00
Edmund Miller
40343dfa61 build: Add eslint-plugin-ava 2022-11-17 19:32:25 +00:00
Edmund Miller
3538f89b6f build: Add lint:fix script 2022-11-17 19:32:25 +00:00
Edmund Miller
024f69ce91 style: Run prettier on everything 2022-11-17 19:32:25 +00:00
Edmund Miller
8c63dff97b style: Set sort-imports to warn 2022-11-17 19:32:25 +00:00
Edmund Miller
b9a7fb9499 refactor: Move functions functions to their own file 2022-11-17 19:32:25 +00:00
Edmund Miller
db82c135bd build: Setup typescript tests
I don't know why I do this to myself. But it's done now.
https://github.com/OneSignal/OneSignal-Website-SDK
Yoinked the configs from here
2022-11-17 19:32:25 +00:00
Edmund Miller
78e7fadd20 build: npm init ava 2022-11-17 19:32:25 +00:00
Edmund Miller
c976e6b883 refactor: Move everything into a src/ dir 2022-11-17 19:32:25 +00:00
Edmund Miller
0401be4ed7 chore: Update package.json 2022-11-17 19:32:25 +00:00
Edmund Miller
147da60f8f style: Run prettier 2022-11-17 19:32:25 +00:00
Edmund Miller
9ec3bc304f build: Add eslint and prettier 2022-11-17 19:32:25 +00:00
Edmund Miller
48ae930859 build: Add types 2022-11-17 19:32:25 +00:00
Edmund Miller
1b07a3f172 build: Add ncc
npm run build works now without global install
2022-11-17 19:32:25 +00:00
Edmund Miller
16725d6eeb chore: Update author 2022-11-17 19:32:25 +00:00
Edmund Miller
80fb69cc4f chore: Update license to MIT and nf-core 2022-11-17 19:32:25 +00:00
Edmund Miller
39c8738968 docs: Add note about why this is a complicated action 2022-11-17 19:32:25 +00:00
Edmund Miller
70311f90c6 docs: Update path 2022-11-17 19:32:25 +00:00