mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-04-12 06:09:05 +07:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
34 lines
692 B
YAML
34 lines
692 B
YAML
name: Sample List Generator
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: ./.repo/sample-list-generator
|
|
|
|
jobs:
|
|
generate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Generate sample list
|
|
run: npm run start
|
|
|
|
- name: Upload to artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: extension-samples.json
|
|
path: ./.repo/sample-list-generator/extension-samples.json
|
|
if-no-files-found: error
|