Update babel monorepo to v7.28.6 #322
This file contains hidden or 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: Main | |
| on: | |
| pull_request: | |
| branches: ["*"] | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "18" | |
| cache: npm | |
| - name: Setup Pages | |
| id: pages | |
| uses: actions/configure-pages@v2 | |
| with: | |
| # Automatically inject pathPrefix in your Gatsby configuration file. | |
| # | |
| # You may remove this line if you want to manage the configuration yourself. | |
| static_site_generator: gatsby | |
| - name: Restore cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| public | |
| .cache | |
| key: ${{ runner.os }}-gatsby-build-${{ hashFiles('public') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gatsby-build- | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Prettier | |
| run: npm run prettier | |
| - name: ESLint | |
| run: npm run lint | |
| - name: Build with Gatsby | |
| env: | |
| PREFIX_PATHS: 'true' | |
| run: npm run build |