@@ -135,6 +135,48 @@ jobs:
135135 env :
136136 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
137137
138+ - uses : actions/upload-artifact@v4
139+ with :
140+ # Name of the artifact to upload.
141+ # Optional. Default is 'artifact'
142+ name : build-artifacts
143+
144+ # A file, directory or wildcard pattern that describes what to upload
145+ # Required.
146+ path : .next
147+
148+ # The desired behavior if no files are found using the provided path.
149+ # Available Options:
150+ # warn: Output a warning but do not fail the action
151+ # error: Fail the action with an error message
152+ # ignore: Do not output any warnings or errors, the action does not fail
153+ # Optional. Default is 'warn'
154+ if-no-files-found :
155+
156+ # Duration after which artifact will expire in days. 0 means using default retention.
157+ # Minimum 1 day.
158+ # Maximum 90 days unless changed from the repository settings page.
159+ # Optional. Defaults to repository settings.
160+ retention-days : 10
161+
162+ # The level of compression for Zlib to be applied to the artifact archive.
163+ # The value can range from 0 to 9.
164+ # For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads.
165+ # Optional. Default is '6'
166+ compression-level :
167+
168+ # If true, an artifact with a matching name will be deleted before a new one is uploaded.
169+ # If false, the action will fail if an artifact for the given name already exists.
170+ # Does not fail if the artifact does not exist.
171+ # Optional. Default is 'false'
172+ overwrite :
173+
174+ # Whether to include hidden files in the provided path in the artifact
175+ # The file contents of any hidden files in the path should be validated before
176+ # enabled this to avoid uploading sensitive information.
177+ # Optional. Default is 'false'
178+ include-hidden-files :
179+
138180 lighthouse :
139181 name : Lighthouse CI
140182 runs-on : ubuntu-latest
0 commit comments