Skip to content

Commit

Permalink
Create update-npm-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
slubwama authored Jan 16, 2024
1 parent 54e1851 commit 22dd5be
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/update-npm-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Node.js CI

on:
push:
branches:
- main

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm install
# Execute the update of the browser instance of npm
- name: Update browser list
run: npx update-browserslist-db@latest

0 comments on commit 22dd5be

Please sign in to comment.