Commit Graph

26 Commits

Author SHA1 Message Date
Liam DeBeasi
0860ea0951 chore: workflow pulls correct version of branch 2024-01-17 09:39:57 -05:00
Liam DeBeasi
535b8ed724 chore(ci): use correct github credentials for pushing (#28806)
The update-package-lock job did not configure Git credentials correctly.
As a result, the job is unable to push the `package-lock.json` changes
to the repo:
https://github.com/ionic-team/ionic-framework/actions/runs/7476310958/job/20346663176

This PR configures the job with the correct credentials.
2024-01-10 16:47:44 +00:00
Liam DeBeasi
28752acebd chore(ci): checkout files when updating package-lock (#28778)
In https://github.com/ionic-team/ionic-framework/pull/28697 I moved the
package-lock work to its own step to lets us re-run that if it fails.
However, I forgot to checkout the project files in that step, so there
was no `package-lock.json` file to update [resulting in an
error](https://github.com/ionic-team/ionic-framework/actions/runs/7398703880/job/20128761433).
2024-01-09 15:58:22 +00:00
Liam DeBeasi
5d3bf9818d chore(ci): package-lock is updated from separate job (#28697)
After each release, we need to update the local `package-lock.json`
dependencies. We do this via a `npm install --package-lock-only`
command. However, this command can fail for reasons such as a connection
timeout. When this happens, the package-lock files do not get updated.

The problem is this action is also done in the same job as generating
the changelog and creating the GitHub release. This operations cannot be
re-done. As a result, we cannot simply re-run this job and try updating
the package-lock files again.

This PR changes the workflow to split the package-lock update out to its
own job. In the event that this job fails, we can re-run only this job
and leave the other jobs untouched.
2023-12-19 16:43:45 +00:00
Lars Mikkelsen
d425e6d4f3 chore(ci): enable npm package provenance (#27263)
See https://github.blog/2023-04-19-introducing-npm-package-provenance/
2023-04-24 13:04:10 +00:00
Liam DeBeasi
1749f5d7cb chore(ci): update workflow options 2023-03-29 16:00:36 +00:00
Liam DeBeasi
e316d2f9b1 chore(ci): add prerelease option to release scripts 2023-02-01 10:30:31 -05:00
Liam DeBeasi
7a0650b1a2 chore(ci): integrate preid with release flow 2023-01-25 15:03:51 +00:00
Liam DeBeasi
938ef0885d chore(ci): add preid support 2023-01-25 14:57:14 +00:00
Liam DeBeasi
07d6c5834d chore(ci): add pre-release scripts 2023-01-25 14:51:03 +00:00
Liam DeBeasi
e28c50178a chore(ci): correctly bump package-lock.json 2023-01-18 14:10:19 +00:00
Liam DeBeasi
184b793733 chore(ci): fix release dependency (#26332) 2022-11-22 10:05:08 -05:00
Liam DeBeasi
d7b86d7625 chore(ci): release workflows now use reusable workflow (#26304) 2022-11-17 11:20:15 -05:00
Liam DeBeasi
4127387731 refactor(ci): release process runs in parallel (#26269) 2022-11-15 16:33:39 -05:00
Liam DeBeasi
5e4892676c chore(ci): update actions versions (#26100) 2022-10-13 13:04:01 -04:00
Liam DeBeasi
61cc278f05 chore(ci): release script bumps package-lock files 2022-10-12 14:12:40 +00:00
Liam DeBeasi
fd656c3403 chore(ci): releases now get published as ionitron 2022-10-05 11:02:41 -04:00
Liam DeBeasi
20a97a06f2 chore(lerna): update lerna (#26033) 2022-09-28 10:38:09 -04:00
Liam DeBeasi
365743129e chore(ci): add missing quotes to cache script (#25711) 2022-08-03 10:21:08 -04:00
Liam DeBeasi
ac891a42a7 ci(release): purge JSDelivr cache on release (#25687) 2022-07-28 10:05:06 -04:00
Liam DeBeasi
841692b213 ci(lerna): install legacy peer deps 2022-05-04 14:29:53 +00:00
Liam DeBeasi
2fbd6218ce chore(): update release scripts (#25203) 2022-04-29 09:45:22 -04:00
Liam DeBeasi
d520f78d21 chore(build): create github release and generate changelog 2022-01-11 12:06:29 -05:00
Liam DeBeasi
d81c4f9a35 chore(build): fetch all history when building 2022-01-11 16:33:44 +00:00
Liam DeBeasi
ac3b110248 build(lerna): split release and next builds out into separate tasks (#24422) 2021-12-16 10:13:09 -05:00
Liam DeBeasi
4a9e1ed247 build(lerna): add release script (#24374) 2021-12-13 11:12:02 -05:00