This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Build Main #659
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: Build Main | |
on: | |
push: | |
branches: [ main ] | |
schedule: | |
- cron: '0 2 * * *' # Daily at 2AM UTC | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '17.x' | |
- name: Install dependencies | |
run: npm install | |
- name: Run linter | |
run: npm run lint:js | |
- name: Build | |
run: npm run build | |
- name: Generate artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: firefox_translations | |
if-no-files-found: error | |
path: extension/ |