Bump @rollup/plugin-node-resolve from 15.1.0 to 15.2.0 #683
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous integration | |
on: | |
pull_request: | |
workflow_call: | |
inputs: | |
ref: | |
description: 'Git commit to build and test' | |
required: false | |
type: string | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.ref }} | |
- name: Cache the node_modules dir | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }} | |
- name: Install | |
run: yarn install --immutable | |
- name: Format | |
run: make checkformatting | |
- name: Lint & typecheck | |
run: make lint | |
- name: Test | |
run: make test | |
- name: Fetch git tags | |
run: | | |
# Fetch tags because `git describe` uses them and the output from `git describe` | |
# is in turn used to produce the extension version number in `build/manifest.json`. | |
# | |
# GitHub does a shallow clone by default, so we have to un-shallow it for | |
# `git describe` to work. | |
git fetch --quiet --tags --unshallow | |
# Show version information in the build logs. This command will also be | |
# used by `tools/settings.js` to generate the extension version. | |
git describe --tags | |
- name: Build packages | |
run: | | |
make clean # Remove assets from test step | |
make build SETTINGS_FILE=settings/chrome-qa.json dist/ci-chrome-qa.zip | |
make build SETTINGS_FILE=settings/chrome-prod.json dist/ci-chrome-prod.zip | |
make build SETTINGS_FILE=settings/firefox-qa.json dist/ci-firefox-qa.xpi | |
make build SETTINGS_FILE=settings/firefox-prod.json dist/ci-firefox-prod.xpi | |
- name: Archive packages | |
uses: actions/upload-artifact@v3 | |
with: | |
name: packages | |
path: | | |
dist/*.zip | |
dist/*.xpi | |
retention-days: 30 |