Skip to content

Commit

Permalink
Merge pull request #59 from fastly/upload-artifact
Browse files Browse the repository at this point in the history
Update dependencies, use `ncc` to bundle actions logic
  • Loading branch information
kailan authored Oct 23, 2024
2 parents 738ba74 + 4e35ed1 commit ddbd065
Show file tree
Hide file tree
Showing 898 changed files with 196,142 additions and 206,633 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
demo/node_modules
node_modules/
8 changes: 7 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# RELEASE

- Merge all PRs intended for inclusion in the new release.
- Run `git tag -s "<TAG>" -m "<TAG>" && git push origin "<TAG>"`.
- Create a new branch for the release.
- Run `npm run bundle-all` to bundle the actions into JavaScript files.
- Commit the changes.
- Open a pull request for the release branch, requesting approval from relevant teams.
- Merge the pull request.
- Update your local branch (`git checkout main && git pull`).
- Tag a new release (`tag=vX.Y.Z && git tag -s $tag -m $tag && git push $(git config branch.$(git symbolic-ref -q --short HEAD).remote) $tag`).
- Create a new release via the GitHub UI.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ inputs:

runs:
using: node20
pre: setup/index.js
main: build/index.js
post: deploy/index.js
pre: setup/dist/index.js
main: build/dist/index.js
post: deploy/dist/index.js
2 changes: 1 addition & 1 deletion build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ branding:

runs:
using: 'node20'
main: 'index.js'
main: 'dist/index.js'

inputs:
project_directory:
Expand Down
Loading

0 comments on commit ddbd065

Please sign in to comment.