diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-09-23 18:05:33 +0900 |
---|---|---|
committer | Darius Jahandarie <djahandarie@gmail.com> | 2023-09-23 23:18:52 +0900 |
commit | 6f24ac4e2a1ee8928e0be69bea774bcade28f2a9 (patch) | |
tree | 0f3cdca6bef987b55559a166fa55cb79fa13598b /.github/workflows/playwright.yml | |
parent | 94ccff4c790ae8c2ef301bdb4e593f51436b3c8e (diff) |
Remove hardcoded version from manifest
* Dynamically set version as argument to build script
* Set version using tag ref_name in CI
* [Cleanup] gitignore ext/manifest.json as it's dynamically generated
Diffstat (limited to '.github/workflows/playwright.yml')
-rw-r--r-- | .github/workflows/playwright.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index a1135157..8efc184a 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -14,13 +14,13 @@ jobs: run: rm -rf /usr/share/fonts - uses: actions/checkout@v3 - + - name: Install CJK fonts uses: awalsh128/cache-apt-pkgs-action@1850ee53f6e706525805321a3f2f863dcf73c962 # v1.3.0 with: packages: fonts-ipafont-mincho execute_install_scripts: true - + - uses: actions/setup-node@v3 with: cache: "npm" @@ -29,6 +29,9 @@ jobs: - name: Install dependencies run: npm ci + - name: Build + run: npm run build + - name: Cache playwright browsers id: cache-playwright uses: actions/cache@v3 @@ -40,7 +43,7 @@ jobs: - if: ${{ steps.cache-playwright.outputs.cache-hit != 'true' }} name: Install Playwright Browsers run: npx playwright install chromium - + - name: Grab latest dictionaries from dictionaries branch uses: actions/checkout@v3 with: |